public class PulsarByteBufAllocator extends Object
| Modifier and Type | Field and Description |
|---|---|
static io.netty.buffer.ByteBufAllocator |
DEFAULT |
static String |
PULSAR_ALLOCATOR_EXIT_ON_OOM |
static String |
PULSAR_ALLOCATOR_LEAK_DETECTION |
static String |
PULSAR_ALLOCATOR_OUT_OF_MEMORY_POLICY |
static String |
PULSAR_ALLOCATOR_POOLED |
| Constructor and Description |
|---|
PulsarByteBufAllocator() |
| Modifier and Type | Method and Description |
|---|---|
static void |
registerOOMListener(Consumer<OutOfMemoryError> listener) |
public static final String PULSAR_ALLOCATOR_POOLED
public static final String PULSAR_ALLOCATOR_EXIT_ON_OOM
public static final String PULSAR_ALLOCATOR_LEAK_DETECTION
public static final String PULSAR_ALLOCATOR_OUT_OF_MEMORY_POLICY
public static final io.netty.buffer.ByteBufAllocator DEFAULT
public static void registerOOMListener(Consumer<OutOfMemoryError> listener)
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.