Class MappedByteBufferPool.Tagged
java.lang.Object
org.eclipse.jetty.io.AbstractByteBufferPool
org.eclipse.jetty.io.MappedByteBufferPool
org.eclipse.jetty.io.MappedByteBufferPool.Tagged
- All Implemented Interfaces:
ByteBufferPool
- Enclosing class:
MappedByteBufferPool
-
Nested Class Summary
Nested classes/interfaces inherited from class MappedByteBufferPool
MappedByteBufferPool.TaggedNested classes/interfaces inherited from interface ByteBufferPool
ByteBufferPool.Bucket, ByteBufferPool.Lease -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnewByteBuffer(int capacity, boolean direct) Creates a new ByteBuffer of the given capacity and the given directness.Methods inherited from class MappedByteBufferPool
acquire, bucketsFor, clear, getDirectByteBufferCount, getHeapByteBufferCount, releaseMethods inherited from class AbstractByteBufferPool
decrementMemory, getCapacityFactor, getDirectMemory, getHeapMemory, getMaxQueueLength, getMemory, incrementMemory, releaseExcessMemoryMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ByteBufferPool
remove
-
Field Details
-
tag
-
-
Constructor Details
-
Tagged
public Tagged()
-
-
Method Details
-
newByteBuffer
Description copied from interface:ByteBufferPoolCreates a new ByteBuffer of the given capacity and the given directness.
- Parameters:
capacity- the ByteBuffer capacitydirect- the ByteBuffer directness- Returns:
- a newly allocated ByteBuffer
-