Package org.eclipse.jetty.io
Class ArrayByteBufferPool.Quadratic
java.lang.Object
org.eclipse.jetty.io.ArrayByteBufferPool
org.eclipse.jetty.io.ArrayByteBufferPool.Quadratic
- All Implemented Interfaces:
ByteBufferPool
,Dumpable
- Enclosing class:
- ArrayByteBufferPool
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.Tracking
Nested classes/interfaces inherited from interface org.eclipse.jetty.io.ByteBufferPool
ByteBufferPool.Accumulator, ByteBufferPool.NonPooling, ByteBufferPool.Sized, ByteBufferPool.Wrapper
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Dumpable
Dumpable.DumpableContainer
-
Field Summary
Fields inherited from interface org.eclipse.jetty.io.ByteBufferPool
NON_POOLING, SIZED_NON_POOLING
-
Constructor Summary
-
Method Summary
Methods inherited from class org.eclipse.jetty.io.ArrayByteBufferPool
acquire, clear, dump, getAvailableDirectByteBufferCount, getAvailableDirectMemory, getAvailableHeapByteBufferCount, getAvailableHeapMemory, getDirectByteBufferCount, getDirectMemory, getHeapByteBufferCount, getHeapMemory, getMaxCapacity, getMinCapacity, isStatisticsEnabled, poolFor, removeAndRelease, setStatisticsEnabled, toString
-
Constructor Details
-
Quadratic
public Quadratic() -
Quadratic
public Quadratic(int minCapacity, int maxCapacity, int maxBucketSize) -
Quadratic
public Quadratic(int minCapacity, int maxCapacity, int maxBucketSize, long maxHeapMemory, long maxDirectMemory)
-