| Modifier and Type | Field and Description |
|---|---|
| public static final VertxByteBufAllocator | DEFAULT
Vert.x shared unpooled heap buffers allocator.
|
| private static final VertxByteBufAllocator | |
| public static final ByteBufAllocator | POOLED_ALLOCATOR
Vert.x pooled allocator. |
| private static final boolean | |
| public static final ByteBufAllocator | UNPOOLED_ALLOCATOR
Vert.x shared unpooled allocator. |
| private static final VertxByteBufAllocator |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | isDirectBufferPooled()
Implements io. Returns |
| protected ByteBuf | newDirectBuffer(int initialCapacity, int maxCapacity)
Implements abstract io. Create a direct |
| DEFAULT | back to summary |
|---|---|
| public static final VertxByteBufAllocator DEFAULT Hides io. Vert.x shared unpooled heap buffers allocator. | |
| IMPL | back to summary |
|---|---|
| private static final VertxByteBufAllocator IMPL | |
| POOLED_ALLOCATOR | back to summary |
|---|---|
| public static final ByteBufAllocator POOLED_ALLOCATOR Vert.x pooled allocator. It should prefers direct buffers, unless | |
| REUSE_NETTY_ALLOCATOR | back to summary |
|---|---|
| private static final boolean REUSE_NETTY_ALLOCATOR | |
| UNPOOLED_ALLOCATOR | back to summary |
|---|---|
| public static final ByteBufAllocator UNPOOLED_ALLOCATOR Vert.x shared unpooled allocator. It prefers non-direct buffers. | |
| UNSAFE_IMPL | back to summary |
|---|---|
| private static final VertxByteBufAllocator UNSAFE_IMPL | |
| VertxByteBufAllocator | back to summary |
|---|---|
| public VertxByteBufAllocator() | |
| isDirectBufferPooled | back to summary |
|---|---|
| public boolean isDirectBufferPooled() Implements io. Doc from io. Returns
| |
| newDirectBuffer | back to summary |
|---|---|
| protected ByteBuf newDirectBuffer(int initialCapacity, int maxCapacity) Implements abstract io. Doc from io. Create a direct
| |