public static class MappedByteBufferPool.Tagged extends MappedByteBufferPool
MappedByteBufferPool.Tagged
ByteBufferPool.Bucket, ByteBufferPool.Lease
Modifier and Type | Field and Description |
---|---|
private java.util.concurrent.atomic.AtomicInteger |
tag |
Constructor and Description |
---|
Tagged() |
Modifier and Type | Method and Description |
---|---|
java.nio.ByteBuffer |
newByteBuffer(int capacity,
boolean direct)
Creates a new ByteBuffer of the given capacity and the given directness.
|
acquire, bucketsFor, clear, getDirectByteBufferCount, getHeapByteBufferCount, release
decrementMemory, getCapacityFactor, getDirectMemory, getHeapMemory, getMaxQueueLength, getMemory, incrementMemory, releaseExcessMemory
public java.nio.ByteBuffer newByteBuffer(int capacity, boolean direct)
ByteBufferPool
Creates a new ByteBuffer of the given capacity and the given directness.
capacity
- the ByteBuffer capacitydirect
- the ByteBuffer directness