AllocateBufferEvent Class — netty Architecture
Architecture documentation for the AllocateBufferEvent class in AllocateBufferEvent.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD a363d1ff_5f91_80f9_61ba_86bf142f2efe["AllocateBufferEvent"] e3f5e3f6_ed80_64f9_6f64_274c59a0dfb0["AllocateBufferEvent.java"] a363d1ff_5f91_80f9_61ba_86bf142f2efe -->|defined in| e3f5e3f6_ed80_64f9_6f64_274c59a0dfb0 e868f047_265b_c248_3353_d8022997adfa["isEventEnabled()"] a363d1ff_5f91_80f9_61ba_86bf142f2efe -->|method| e868f047_265b_c248_3353_d8022997adfa
Relationship Graph
Source Code
buffer/src/main/java/io/netty/buffer/AllocateBufferEvent.java lines 22–41
@SuppressWarnings("Since15")
@Label("Buffer Allocation")
@Name(AllocateBufferEvent.NAME)
@Description("Triggered when a buffer is allocated (or reallocated) from an allocator")
final class AllocateBufferEvent extends AbstractBufferEvent {
static final String NAME = "io.netty.AllocateBuffer";
private static final AllocateBufferEvent INSTANCE = new AllocateBufferEvent();
/**
* 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 this buffer?")
public boolean chunkPooled;
@Description("Is this buffer's chunk part of a thread-local magazine or arena?")
public boolean chunkThreadLocal;
}
Source
Frequently Asked Questions
What is the AllocateBufferEvent class?
AllocateBufferEvent is a class in the netty codebase, defined in buffer/src/main/java/io/netty/buffer/AllocateBufferEvent.java.
Where is AllocateBufferEvent defined?
AllocateBufferEvent is defined in buffer/src/main/java/io/netty/buffer/AllocateBufferEvent.java at line 22.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free