java.lang.Object
org.eclipse.jetty.io.ArrayByteBufferPool
org.eclipse.jetty.io.ArrayByteBufferPool.Quadratic
- All Implemented Interfaces:
ByteBufferPool,org.eclipse.jetty.util.component.Dumpable
- Enclosing class:
ArrayByteBufferPool
@Deprecated(forRemoval=true,
since="12.1.0")
public static class ArrayByteBufferPool.Quadratic
extends ArrayByteBufferPool
Deprecated, for removal: This API element is subject to removal in a future version.
A variant of the
ArrayByteBufferPool that
uses buckets of buffers that increase in size by a power of
2 (e.g. 1k, 2k, 4k, 8k, etc.).-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jetty.io.ArrayByteBufferPool
ArrayByteBufferPool.Quadratic, ArrayByteBufferPool.TrackingNested classes/interfaces inherited from interface org.eclipse.jetty.io.ByteBufferPool
ByteBufferPool.Accumulator, ByteBufferPool.NonPooling, ByteBufferPool.Sized, ByteBufferPool.WrapperNested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Dumpable
org.eclipse.jetty.util.component.Dumpable.DumpableContainer -
Field Summary
Fields inherited from interface org.eclipse.jetty.io.ByteBufferPool
NON_POOLING, SIZED_NON_POOLINGFields inherited from interface org.eclipse.jetty.util.component.Dumpable
KEY -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Quadratic(int minCapacity, int maxCapacity, int maxBucketSize) Deprecated, for removal: This API element is subject to removal in a future version.Quadratic(int minCapacity, int maxCapacity, int maxBucketSize, long maxHeapMemory, long maxDirectMemory) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Methods inherited from class org.eclipse.jetty.io.ArrayByteBufferPool
acquire, clear, dump, getAvailableDirectByteBufferCount, getAvailableDirectMemory, getAvailableHeapByteBufferCount, getAvailableHeapMemory, getDirectByteBufferCount, getDirectMemory, getHeapByteBufferCount, getHeapMemory, getMaxCapacity, getMinCapacity, getReserved, isStatisticsEnabled, poolFor, releaseAndRemove, setStatisticsEnabled, 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
-
Quadratic
public Quadratic()Deprecated, for removal: This API element is subject to removal in a future version. -
Quadratic
public Quadratic(int minCapacity, int maxCapacity, int maxBucketSize) Deprecated, for removal: This API element is subject to removal in a future version. -
Quadratic
public Quadratic(int minCapacity, int maxCapacity, int maxBucketSize, long maxHeapMemory, long maxDirectMemory) Deprecated, for removal: This API element is subject to removal in a future version.
-
Quadraticis often wasteful of additional space and can increase contention on the larger buffers.