Arena

class Arena(alloc: ByteBufAllocator) : ByteBufAllocator, AutoCloseable

Constructors

Link copied to clipboard
constructor(alloc: ByteBufAllocator)

Functions

Link copied to clipboard
open override fun buffer(): ByteBuf
open override fun buffer(initialCapacity: Int): ByteBuf
open override fun buffer(initialCapacity: Int, maxCapacity: Int): ByteBuf
Link copied to clipboard
open override fun calculateNewCapacity(minNewCapacity: Int, maxCapacity: Int): Int
Link copied to clipboard
open override fun close()
Link copied to clipboard
open override fun compositeBuffer(): CompositeByteBuf
open override fun compositeBuffer(maxNumComponents: Int): CompositeByteBuf
Link copied to clipboard
open override fun compositeDirectBuffer(): CompositeByteBuf
open override fun compositeDirectBuffer(maxNumComponents: Int): CompositeByteBuf
Link copied to clipboard
open override fun compositeHeapBuffer(): CompositeByteBuf
open override fun compositeHeapBuffer(maxNumComponents: Int): CompositeByteBuf
Link copied to clipboard
open override fun directBuffer(): ByteBuf
open override fun directBuffer(initialCapacity: Int): ByteBuf
open override fun directBuffer(initialCapacity: Int, maxCapacity: Int): ByteBuf
Link copied to clipboard
open override fun heapBuffer(): ByteBuf
open override fun heapBuffer(initialCapacity: Int): ByteBuf
open override fun heapBuffer(initialCapacity: Int, maxCapacity: Int): ByteBuf
Link copied to clipboard
open override fun ioBuffer(): ByteBuf
open override fun ioBuffer(initialCapacity: Int): ByteBuf
open override fun ioBuffer(initialCapacity: Int, maxCapacity: Int): ByteBuf
Link copied to clipboard
open override fun isDirectBufferPooled(): Boolean