Class ArrayByteBufferPool.Quadratic

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

public static class ArrayByteBufferPool.Quadratic extends ArrayByteBufferPool
A variant of the ArrayByteBufferPool that uses buckets of buffers that increase in size by a power of 2 (eg 1k, 2k, 4k, 8k, etc.).
  • 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)