java.lang.Object
org.eclipse.jetty.io.ArrayRetainableByteBufferPool
org.eclipse.jetty.io.ArrayByteBufferPool.Retained
- All Implemented Interfaces:
RetainableByteBufferPool,org.eclipse.jetty.util.component.Dumpable
- Enclosing class:
ArrayByteBufferPool
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Dumpable
org.eclipse.jetty.util.component.Dumpable.DumpableContainerNested classes/interfaces inherited from interface org.eclipse.jetty.io.RetainableByteBufferPool
RetainableByteBufferPool.NotRetainedByteBufferPool -
Field Summary
Fields inherited from interface org.eclipse.jetty.util.component.Dumpable
KEY -
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, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.jetty.util.component.Dumpable
dump, dumpSelf
-
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
-