Module org.eclipse.jetty.io
Package org.eclipse.jetty.io
Class LogarithmicArrayByteBufferPool.LogarithmicRetainablePool
java.lang.Object
org.eclipse.jetty.io.ArrayRetainableByteBufferPool
org.eclipse.jetty.io.LogarithmicArrayByteBufferPool.LogarithmicRetainablePool
- All Implemented Interfaces:
RetainableByteBufferPool,org.eclipse.jetty.util.component.Dumpable
- Enclosing class:
LogarithmicArrayByteBufferPool
public static class LogarithmicArrayByteBufferPool.LogarithmicRetainablePool
extends ArrayRetainableByteBufferPool
A variant of the
ArrayRetainableByteBufferPool that
uses buckets of buffers that increase in size by a power of
2 (eg 1k, 2k, 4k, 8k, etc.).-
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
ConstructorsConstructorDescriptionLogarithmicRetainablePool(int minCapacity, int maxCapacity, int maxBucketSize) LogarithmicRetainablePool(int minCapacity, int maxCapacity, int maxBucketSize, long maxHeapMemory, long maxDirectMemory) -
Method Summary
Methods inherited from class org.eclipse.jetty.io.ArrayRetainableByteBufferPool
acquire, allocate, allocateDirect, clear, dump, getAvailableDirectByteBufferCount, getAvailableDirectMemory, getAvailableHeapByteBufferCount, getAvailableHeapMemory, getDirectByteBufferCount, getDirectMemory, getHeapByteBufferCount, getHeapMemory, getMaxCapacity, getMinCapacity, poolFor, removed, 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
-
LogarithmicRetainablePool
public LogarithmicRetainablePool() -
LogarithmicRetainablePool
public LogarithmicRetainablePool(int minCapacity, int maxCapacity, int maxBucketSize) -
LogarithmicRetainablePool
public LogarithmicRetainablePool(int minCapacity, int maxCapacity, int maxBucketSize, long maxHeapMemory, long maxDirectMemory)
-