Class PulsarByteBufAllocator
java.lang.Object
org.apache.pulsar.common.allocator.PulsarByteBufAllocator
Holder of a ByteBuf allocator.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
registerOOMListener
(Consumer<OutOfMemoryError> listener)
-
Field Details
-
PULSAR_ALLOCATOR_POOLED
- See Also:
-
PULSAR_ALLOCATOR_EXIT_ON_OOM
- See Also:
-
PULSAR_ALLOCATOR_LEAK_DETECTION
- See Also:
-
PULSAR_ALLOCATOR_OUT_OF_MEMORY_POLICY
- See Also:
-
DEFAULT
public static final io.netty.buffer.ByteBufAllocator DEFAULT
-
-
Constructor Details
-
PulsarByteBufAllocator
public PulsarByteBufAllocator()
-
-
Method Details
-
registerOOMListener
-