Example usage for Java io.netty.buffer PooledByteBufAllocator fields, constructors, methods, implement or subclass
The text is from its open source code.
PooledByteBufAllocator | DEFAULT |
PoolArena | heapArenas |
PoolArena | directArenas |
int | tinyCacheSize |
int | smallCacheSize |
int | normalCacheSize |
PooledByteBufAllocatorMetric | metric |
ByteBuf | buffer(int initialCapacity) |
ByteBuf | buffer(int initialCapacity, int maxCapacity) |
int | defaultMaxOrder() Default maximum order - System Property: io.netty.allocator.maxOrder - default 11 |
int | defaultNormalCacheSize() Default normal cache size - System Property: io.netty.allocator.normalCacheSize - default 64 |
int | defaultNumDirectArena() Default number of direct arenas - System Property: io.netty.allocator.numDirectArenas - default 2 * cores |
int | defaultPageSize() Default buffer page size - System Property: io.netty.allocator.pageSize - default 8192 |
int | defaultSmallCacheSize() Default small cache size - System Property: io.netty.allocator.smallCacheSize - default 256 |
int | defaultTinyCacheSize() Default tiny cache size - System Property: io.netty.allocator.tinyCacheSize - default 512 |
boolean | defaultUseCacheForAllThreads() Default thread caching behavior - System Property: io.netty.allocator.useCacheForAllThreads - default true |
ByteBuf | directBuffer(int initialCapacity, int maxCapacity) |
int | numDirectArenas() Return the number of direct arenas. |
int | numHeapArenas() Return the number of heap arenas. |
int | numThreadLocalCaches() Return the number of thread local caches used by this PooledByteBufAllocator . |