Java io.netty.buffer ByteBufAllocator fields, constructors, methods, implement or subclass

Example usage for Java io.netty.buffer ByteBufAllocator fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for io.netty.buffer ByteBufAllocator.

The text is from its open source code.

Implementation

io.netty.buffer.ByteBufAllocator has the following implementations.
Click this link to see all its implementation.

Field

ByteBufAllocatorDEFAULT

Method

ByteBufbuffer(int initialCapacity)
Allocate a ByteBuf with the given initial capacity.
ByteBufbuffer()
Allocate a ByteBuf .
ByteBufbuffer(int initialCapacity, int maxCapacity)
Allocate a ByteBuf with the given initial capacity and the given maximal capacity.
CompositeByteBufcompositeBuffer()
Allocate a CompositeByteBuf .
CompositeByteBufcompositeBuffer(int maxNumComponents)
Allocate a CompositeByteBuf with the given maximum number of components that can be stored in it.
ByteBufdirectBuffer()
Allocate a direct ByteBuf .
ByteBufdirectBuffer(int initialCapacity)
Allocate a direct ByteBuf with the given initial capacity.
ByteBufdirectBuffer(int initialCapacity, int maxCapacity)
Allocate a direct ByteBuf with the given initial capacity and the given maximal capacity.
ByteBufheapBuffer()
Allocate a heap ByteBuf .
ByteBufheapBuffer(int initialCapacity)
Allocate a heap ByteBuf with the given initial capacity.
ByteBufheapBuffer(int initialCapacity, int maxCapacity)
Allocate a heap ByteBuf with the given initial capacity and the given maximal capacity.
ByteBufioBuffer()
Allocate a ByteBuf , preferably a direct buffer which is suitable for I/O.
ByteBufioBuffer(int initialCapacity)
Allocate a ByteBuf , preferably a direct buffer which is suitable for I/O.
ByteBufioBuffer(int initialCapacity, int maxCapacity)
Allocate a ByteBuf , preferably a direct buffer which is suitable for I/O.
booleanisDirectBufferPooled()
Returns true if direct ByteBuf 's are pooled