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

public static class ArrayByteBufferPool.WithBucketCapacities extends ArrayByteBufferPool
A variant of the ArrayByteBufferPool that uses a predefined set of buckets of buffers.
  • Constructor Details

    • WithBucketCapacities

      public WithBucketCapacities(int... capacities)
    • WithBucketCapacities

      public WithBucketCapacities(long maxHeapMemory, long maxDirectMemory, int... capacities)