Package org.eclipse.jetty.io
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 org.eclipse.jetty.io.MappedByteBufferPool
MappedByteBufferPool.Tagged
Nested classes/interfaces inherited from interface org.eclipse.jetty.io.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 org.eclipse.jetty.io.MappedByteBufferPool
acquire, bucketsFor, clear, getDirectByteBufferCount, getHeapByteBufferCount, release
Methods inherited from class org.eclipse.jetty.io.AbstractByteBufferPool
decrementMemory, getCapacityFactor, getDirectMemory, getHeapMemory, getMaxQueueLength, getMemory, incrementMemory, releaseExcessMemory
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.jetty.io.ByteBufferPool
remove
-
Field Details
-
tag
-
-
Constructor Details
-
Tagged
public Tagged()
-
-
Method Details
-
newByteBuffer
Description copied from interface:ByteBufferPool
Creates a new ByteBuffer of the given capacity and the given directness.
- Parameters:
capacity
- the ByteBuffer capacitydirect
- the ByteBuffer directness- Returns:
- a newly allocated ByteBuffer
-