AllocateChunkEvent Class — netty Architecture
Architecture documentation for the AllocateChunkEvent class in AllocateChunkEvent.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 5c72f953_6789_8bb4_58c7_b287c3986e4b["AllocateChunkEvent"] e62661d3_d85c_af05_a0a6_7c1ea9850de7["AllocateChunkEvent.java"] 5c72f953_6789_8bb4_58c7_b287c3986e4b -->|defined in| e62661d3_d85c_af05_a0a6_7c1ea9850de7 e2ab889a_2cfd_ac95_2308_d75bbf0e9cf3["isEventEnabled()"] 5c72f953_6789_8bb4_58c7_b287c3986e4b -->|method| e2ab889a_2cfd_ac95_2308_d75bbf0e9cf3
Relationship Graph
Source Code
buffer/src/main/java/io/netty/buffer/AllocateChunkEvent.java lines 22–41
@SuppressWarnings("Since15")
@Name(AllocateChunkEvent.NAME)
@Label("Chunk Allocation")
@Description("Triggered when a new memory chunk is allocated for an allocator")
final class AllocateChunkEvent extends AbstractChunkEvent {
static final String NAME = "io.netty.AllocateChunk";
private static final AllocateChunkEvent INSTANCE = new AllocateChunkEvent();
/**
* Statically check if this event is enabled.
*/
public static boolean isEventEnabled() {
return INSTANCE.isEnabled();
}
@Description("Is this chunk pooled, or is it a one-off allocation for a single buffer?")
public boolean pooled;
@Description("Is this chunk part of a thread-local magazine or arena?")
public boolean threadLocal;
}
Source
Frequently Asked Questions
What is the AllocateChunkEvent class?
AllocateChunkEvent is a class in the netty codebase, defined in buffer/src/main/java/io/netty/buffer/AllocateChunkEvent.java.
Where is AllocateChunkEvent defined?
AllocateChunkEvent is defined in buffer/src/main/java/io/netty/buffer/AllocateChunkEvent.java at line 22.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free