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

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

Introduction

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

The text is from its open source code.

Subclass

io.netty.buffer.PooledByteBufAllocator has subclasses.
Click this link to see all its subclasses.

Field

PooledByteBufAllocatorDEFAULT
PoolArenaheapArenas
PoolArenadirectArenas
inttinyCacheSize
intsmallCacheSize
intnormalCacheSize
PooledByteBufAllocatorMetricmetric

Constructor

Method

ByteBufbuffer(int initialCapacity)
ByteBufbuffer(int initialCapacity, int maxCapacity)
intdefaultMaxOrder()
Default maximum order - System Property: io.netty.allocator.maxOrder - default 11
intdefaultNormalCacheSize()
Default normal cache size - System Property: io.netty.allocator.normalCacheSize - default 64
intdefaultNumDirectArena()
Default number of direct arenas - System Property: io.netty.allocator.numDirectArenas - default 2 * cores
intdefaultPageSize()
Default buffer page size - System Property: io.netty.allocator.pageSize - default 8192
intdefaultSmallCacheSize()
Default small cache size - System Property: io.netty.allocator.smallCacheSize - default 256
intdefaultTinyCacheSize()
Default tiny cache size - System Property: io.netty.allocator.tinyCacheSize - default 512
booleandefaultUseCacheForAllThreads()
Default thread caching behavior - System Property: io.netty.allocator.useCacheForAllThreads - default true
ByteBufdirectBuffer(int initialCapacity, int maxCapacity)
intnumDirectArenas()
Return the number of direct arenas.
intnumHeapArenas()
Return the number of heap arenas.
intnumThreadLocalCaches()
Return the number of thread local caches used by this PooledByteBufAllocator .