Home / Class/ ReallocateBufferEvent Class — netty Architecture

ReallocateBufferEvent Class — netty Architecture

Architecture documentation for the ReallocateBufferEvent class in ReallocateBufferEvent.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  3a4f08b2_98f4_6328_5252_9149389fb3d7["ReallocateBufferEvent"]
  43e6ce45_3c01_6fe1_130f_1c9cf722c3aa["ReallocateBufferEvent.java"]
  3a4f08b2_98f4_6328_5252_9149389fb3d7 -->|defined in| 43e6ce45_3c01_6fe1_130f_1c9cf722c3aa
  8903932f_bc84_979d_5f4b_bebe52ad08a3["isEventEnabled()"]
  3a4f08b2_98f4_6328_5252_9149389fb3d7 -->|method| 8903932f_bc84_979d_5f4b_bebe52ad08a3

Relationship Graph

Source Code

buffer/src/main/java/io/netty/buffer/ReallocateBufferEvent.java lines 23–42

@SuppressWarnings("Since15")
@Label("Buffer Reallocation")
@Name(ReallocateBufferEvent.NAME)
@Description("Triggered when a buffer is reallocated for resizing in an allocator. " +
        "Will be followed by an AllocateBufferEvent")
final class ReallocateBufferEvent extends AbstractBufferEvent {
    static final String NAME = "io.netty.ReallocateBuffer";
    private static final ReallocateBufferEvent INSTANCE = new ReallocateBufferEvent();

    /**
     * Statically check if this event is enabled.
     */
    public static boolean isEventEnabled() {
        return INSTANCE.isEnabled();
    }

    @DataAmount
    @Description("Targeted buffer capacity")
    public int newCapacity;
}

Frequently Asked Questions

What is the ReallocateBufferEvent class?
ReallocateBufferEvent is a class in the netty codebase, defined in buffer/src/main/java/io/netty/buffer/ReallocateBufferEvent.java.
Where is ReallocateBufferEvent defined?
ReallocateBufferEvent is defined in buffer/src/main/java/io/netty/buffer/ReallocateBufferEvent.java at line 23.

Analyze Your Own Codebase

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

Try Supermodel Free