Class ByteBufferPool.Accumulator

java.lang.Object
org.eclipse.jetty.io.ByteBufferPool.Accumulator
Enclosing interface:
ByteBufferPool

public static class ByteBufferPool.Accumulator extends Object

Accumulates a sequence of RetainableByteBuffer that are typically created during the generation of protocol bytes.

RetainableByteBuffers can be either appended to the sequence, or inserted at a specific position in the sequence, and then released when they are consumed.