Package org.eclipse.jetty.io
Class ArrayByteBufferPool.Retained
java.lang.Object
org.eclipse.jetty.io.ArrayRetainableByteBufferPool
org.eclipse.jetty.io.ArrayByteBufferPool.Retained
- All Implemented Interfaces:
RetainableByteBufferPool
,Dumpable
- Enclosing class:
- ArrayByteBufferPool
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Dumpable
Dumpable.DumpableContainer
Nested classes/interfaces inherited from interface org.eclipse.jetty.io.RetainableByteBufferPool
RetainableByteBufferPool.NotRetainedByteBufferPool
-
Field Summary
-
Constructor Summary
ConstructorDescriptionRetained
(int factor, int maxCapacity, int maxBucketSize, long retainedHeapMemory, long retainedDirectMemory) -
Method Summary
Modifier and TypeMethodDescriptionprotected ByteBuffer
allocate
(int capacity) protected ByteBuffer
allocateDirect
(int capacity) protected void
removed
(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:
allocate
in classArrayRetainableByteBufferPool
-
allocateDirect
- Overrides:
allocateDirect
in classArrayRetainableByteBufferPool
-
removed
- Overrides:
removed
in classArrayRetainableByteBufferPool
-