Package org.eclipse.jetty.io
Class MappedByteBufferPool.Retained
java.lang.Object
org.eclipse.jetty.io.ArrayRetainableByteBufferPool
org.eclipse.jetty.io.MappedByteBufferPool.Retained
- All Implemented Interfaces:
RetainableByteBufferPool,Dumpable
- Enclosing class:
- MappedByteBufferPool
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jetty.io.ArrayRetainableByteBufferPool
ArrayRetainableByteBufferPool.TrackingNested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Dumpable
Dumpable.DumpableContainerNested classes/interfaces inherited from interface org.eclipse.jetty.io.RetainableByteBufferPool
RetainableByteBufferPool.NotRetainedByteBufferPool -
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionRetained(int factor, int maxCapacity, int maxBucketSize, long retainedHeapMemory, long retainedDirectMemory) -
Method Summary
Modifier and TypeMethodDescriptionprotected ByteBufferallocate(int capacity) protected ByteBufferallocateDirect(int capacity) protected voidremoved(RetainableByteBuffer retainedBuffer) Methods inherited from class org.eclipse.jetty.io.ArrayRetainableByteBufferPool
acquire, clear, dump, getAvailableDirectByteBufferCount, getAvailableDirectMemory, getAvailableHeapByteBufferCount, getAvailableHeapMemory, getDirectByteBufferCount, getDirectMemory, getHeapByteBufferCount, getHeapMemory, getMaxCapacity, getMinCapacity, poolFor, toString
-
Constructor Details
-
Retained
public Retained(int factor, int maxCapacity, int maxBucketSize, long retainedHeapMemory, long retainedDirectMemory)
-
-
Method Details
-
allocate
- Overrides:
allocatein classArrayRetainableByteBufferPool
-
allocateDirect
- Overrides:
allocateDirectin classArrayRetainableByteBufferPool
-
removed
- Overrides:
removedin classArrayRetainableByteBufferPool
-