Class PulsarByteBufAllocator


  • public class PulsarByteBufAllocator
    extends java.lang.Object
    Holder of a ByteBuf allocator.
    • Field Detail

      • PULSAR_ALLOCATOR_POOLED

        public static final java.lang.String PULSAR_ALLOCATOR_POOLED
        See Also:
        Constant Field Values
      • PULSAR_ALLOCATOR_EXIT_ON_OOM

        public static final java.lang.String PULSAR_ALLOCATOR_EXIT_ON_OOM
        See Also:
        Constant Field Values
      • PULSAR_ALLOCATOR_LEAK_DETECTION

        public static final java.lang.String PULSAR_ALLOCATOR_LEAK_DETECTION
        See Also:
        Constant Field Values
      • PULSAR_ALLOCATOR_OUT_OF_MEMORY_POLICY

        public static final java.lang.String PULSAR_ALLOCATOR_OUT_OF_MEMORY_POLICY
        See Also:
        Constant Field Values
      • DEFAULT

        public static final io.netty.buffer.ByteBufAllocator DEFAULT
    • Constructor Detail

      • PulsarByteBufAllocator

        public PulsarByteBufAllocator()
    • Method Detail

      • registerOOMListener

        public static void registerOOMListener​(java.util.function.Consumer<java.lang.OutOfMemoryError> listener)