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

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 (e.g. 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)