public static class MappedByteBufferPool.Tagged extends MappedByteBufferPool
MappedByteBufferPool.TaggedByteBufferPool.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, releasedecrementMemory, getCapacityFactor, getDirectMemory, getHeapMemory, getMaxQueueLength, getMemory, incrementMemory, releaseExcessMemorypublic java.nio.ByteBuffer newByteBuffer(int capacity,
boolean direct)
ByteBufferPoolCreates a new ByteBuffer of the given capacity and the given directness.
capacity - the ByteBuffer capacitydirect - the ByteBuffer directness