// 
// Decompiled by Procyon v0.6.0
// 

package io.netty.buffer;

import jdk.jfr.DataAmount;
import jdk.jfr.Description;
import jdk.jfr.Name;
import jdk.jfr.Label;

@Label("Buffer Reallocation")
@Name("io.netty.ReallocateBuffer")
@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;
    @DataAmount
    @Description("Targeted buffer capacity")
    public int newCapacity;
    
    public static boolean isEventEnabled() {
        return ReallocateBufferEvent.INSTANCE.isEnabled();
    }
    
    static {
        INSTANCE = new ReallocateBufferEvent();
    }
}
