Class ArrayByteBufferPool.WithBucketCapacities
java.lang.Object
org.eclipse.jetty.io.ArrayByteBufferPool
org.eclipse.jetty.io.ArrayByteBufferPool.WithBucketCapacities
- All Implemented Interfaces:
ByteBufferPool
,Dumpable
- Enclosing class:
ArrayByteBufferPool
A variant of the
ArrayByteBufferPool
that
uses a predefined set of buckets of buffers.-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jetty.io.ArrayByteBufferPool
ArrayByteBufferPool.Quadratic, ArrayByteBufferPool.Tracking, ArrayByteBufferPool.WithBucketCapacities
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, Dumpable.DumpAppendable
-
Field Summary
Fields inherited from interface org.eclipse.jetty.io.ByteBufferPool
NON_POOLING, SIZED_NON_POOLING
-
Constructor Summary
ConstructorsConstructorDescriptionWithBucketCapacities
(int... capacities) WithBucketCapacities
(long maxHeapMemory, long maxDirectMemory, int... capacities) -
Method Summary
Methods inherited from class org.eclipse.jetty.io.ArrayByteBufferPool
acquire, clear, dump, getAvailableDirectByteBufferCount, getAvailableDirectMemory, getAvailableHeapByteBufferCount, getAvailableHeapMemory, getDirectBucketsStatistics, getDirectByteBufferCount, getDirectMemory, getHeapBucketsStatistics, getHeapByteBufferCount, getHeapMemory, getMaxCapacity, getMinCapacity, getNoBucketDirectAcquires, getNoBucketHeapAcquires, getReserved, isStatisticsEnabled, poolFor, setStatisticsEnabled, toString
-
Constructor Details
-
WithBucketCapacities
public WithBucketCapacities(int... capacities) -
WithBucketCapacities
public WithBucketCapacities(long maxHeapMemory, long maxDirectMemory, int... capacities)
-