Home / Function/ initBuf() — netty Function Reference

initBuf() — netty Function Reference

Architecture documentation for the initBuf() function in PoolThreadCache.java from the netty codebase.

Function java Buffer Telemetry calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  e3602d3b_35c5_118b_c936_18fa5ef5b490["initBuf()"]
  4b9d81c3_928f_89bf_a788_0189c90728d2["NormalMemoryRegionCache"]
  e3602d3b_35c5_118b_c936_18fa5ef5b490 -->|defined in| 4b9d81c3_928f_89bf_a788_0189c90728d2
  fd5403bf_84dc_665d_0863_1a784edbddd7["initBuf()"]
  fd5403bf_84dc_665d_0863_1a784edbddd7 -->|calls| e3602d3b_35c5_118b_c936_18fa5ef5b490
  fd5403bf_84dc_665d_0863_1a784edbddd7["initBuf()"]
  e3602d3b_35c5_118b_c936_18fa5ef5b490 -->|calls| fd5403bf_84dc_665d_0863_1a784edbddd7
  style e3602d3b_35c5_118b_c936_18fa5ef5b490 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buffer/src/main/java/io/netty/buffer/PoolThreadCache.java lines 320–325

        @Override
        protected void initBuf(
                PoolChunk<T> chunk, ByteBuffer nioBuffer, long handle, PooledByteBuf<T> buf, int reqCapacity,
                PoolThreadCache threadCache) {
            chunk.initBuf(buf, nioBuffer, handle, reqCapacity, threadCache, true);
        }

Domain

Subdomains

Calls

Called By

Frequently Asked Questions

What does initBuf() do?
initBuf() is a function in the netty codebase, defined in buffer/src/main/java/io/netty/buffer/PoolThreadCache.java.
Where is initBuf() defined?
initBuf() is defined in buffer/src/main/java/io/netty/buffer/PoolThreadCache.java at line 320.
What does initBuf() call?
initBuf() calls 1 function(s): initBuf.
What calls initBuf()?
initBuf() is called by 1 function(s): initBuf.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free