AbstractChunkEvent Class — netty Architecture
Architecture documentation for the AbstractChunkEvent class in AbstractChunkEvent.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 12e6a820_68db_192e_9d1f_83fe9e083934["AbstractChunkEvent"] 8da61f75_7bdf_6e67_d2e4_f3506fdae4c0["AbstractChunkEvent.java"] 12e6a820_68db_192e_9d1f_83fe9e083934 -->|defined in| 8da61f75_7bdf_6e67_d2e4_f3506fdae4c0 6a9c1945_41fb_7873_30e6_d4697f132fc1["fill()"] 12e6a820_68db_192e_9d1f_83fe9e083934 -->|method| 6a9c1945_41fb_7873_30e6_d4697f132fc1
Relationship Graph
Source Code
buffer/src/main/java/io/netty/buffer/AbstractChunkEvent.java lines 22–39
@SuppressWarnings("Since15")
abstract class AbstractChunkEvent extends AbstractAllocatorEvent {
@DataAmount
@Description("Size of the chunk")
public int capacity;
@Description("Is this chunk referencing off-heap memory?")
public boolean direct;
@Description("The memory address of the off-heap memory, if available")
@MemoryAddress
public long address;
public void fill(ChunkInfo chunk, Class<? extends AbstractByteBufAllocator> allocatorType) {
this.allocatorType = allocatorType;
capacity = chunk.capacity();
direct = chunk.isDirect();
address = chunk.memoryAddress();
}
}
Source
Frequently Asked Questions
What is the AbstractChunkEvent class?
AbstractChunkEvent is a class in the netty codebase, defined in buffer/src/main/java/io/netty/buffer/AbstractChunkEvent.java.
Where is AbstractChunkEvent defined?
AbstractChunkEvent is defined in buffer/src/main/java/io/netty/buffer/AbstractChunkEvent.java at line 22.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free