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.).
  • 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)