Module org.eclipse.jetty.io
Package org.eclipse.jetty.io
Class ArrayRetainableByteBufferPool.ExponentialPool
java.lang.Object
org.eclipse.jetty.io.ArrayRetainableByteBufferPool
org.eclipse.jetty.io.ArrayRetainableByteBufferPool.ExponentialPool
- All Implemented Interfaces:
RetainableByteBufferPool,org.eclipse.jetty.util.component.Dumpable
- Enclosing class:
- ArrayRetainableByteBufferPool
public static class ArrayRetainableByteBufferPool.ExponentialPool
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 class org.eclipse.jetty.io.ArrayRetainableByteBufferPool
ArrayRetainableByteBufferPool.ExponentialPoolNested 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
ConstructorsConstructorDescriptionExponentialPool(int minCapacity, int maxCapacity, int maxBucketSize) ExponentialPool(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
-
ExponentialPool
public ExponentialPool() -
ExponentialPool
public ExponentialPool(int minCapacity, int maxCapacity, int maxBucketSize) -
ExponentialPool
public ExponentialPool(int minCapacity, int maxCapacity, int maxBucketSize, long maxHeapMemory, long maxDirectMemory)
-