Class ByteBufferCallbackAccumulator

java.lang.Object
org.eclipse.jetty.io.ByteBufferCallbackAccumulator

@Deprecated(forRemoval=true, since="12.1.0") public class ByteBufferCallbackAccumulator extends Object
Deprecated, for removal: This API element is subject to removal in a future version.

This class can be used to accumulate pairs of ByteBuffer and Callback, and eventually copy these into a single ByteBuffer or byte array and succeed the callbacks.

This class is not thread safe and callers must do mutual exclusion.