PooledByteBufAllocator.
| Modifier and Type | Field and Description |
|---|---|
| private final PooledByteBufAllocator |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public List | |
| public List | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | tinyCacheSize()
Deprecated
Tiny caches have been merged into small caches.
Return the size of the tiny cache.
|
| public String | |
| public long | usedDirectMemory()
Implements io. ByteBufAllocator or -1 if unknown.
|
| public long | usedHeapMemory()
Implements io. ByteBufAllocator or -1 if unknown.
|
| allocator | back to summary |
|---|---|
| private final PooledByteBufAllocator allocator | |
| PooledByteBufAllocatorMetric | back to summary |
|---|---|
| pack-priv PooledByteBufAllocatorMetric(PooledByteBufAllocator allocator) | |
| chunkSize | back to summary |
|---|---|
| public int chunkSize() Return the chunk size for an arena. | |
| directArenas | back to summary |
|---|---|
| public List Return a | |
| heapArenas | back to summary |
|---|---|
| public List Return a | |
| normalCacheSize | back to summary |
|---|---|
| public int normalCacheSize() Return the size of the normal cache. | |
| numDirectArenas | back to summary |
|---|---|
| public int numDirectArenas() Return the number of direct arenas. | |
| numHeapArenas | back to summary |
|---|---|
| public int numHeapArenas() Return the number of heap arenas. | |
| numThreadLocalCaches | back to summary |
|---|---|
| public int numThreadLocalCaches() Return the number of thread local caches used by this | |
| smallCacheSize | back to summary |
|---|---|
| public int smallCacheSize() Return the size of the small cache. | |
| tinyCacheSize | back to summary |
|---|---|
| public int tinyCacheSize()
Deprecated Tiny caches have been merged into small caches. Return the size of the tiny cache.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| usedDirectMemory | back to summary |
|---|---|
| public long usedDirectMemory() Implements io. Doc from io. Returns the number of bytes of direct memory used by a
| |
| usedHeapMemory | back to summary |
|---|---|
| public long usedHeapMemory() Implements io. Doc from io. Returns the number of bytes of heap memory used by a
| |