Class ByteBufferPool.Accumulator
java.lang.Object
org.eclipse.jetty.io.ByteBufferPool.Accumulator
- Enclosing interface:
ByteBufferPool
@Deprecated(forRemoval=true,
since="12.1.0")
public static class ByteBufferPool.Accumulator
extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
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.
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionvoidappend(RetainableByteBuffer buffer) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.intgetSize()Deprecated, for removal: This API element is subject to removal in a future version.longDeprecated, for removal: This API element is subject to removal in a future version.voidinsert(int index, RetainableByteBuffer buffer) Deprecated, for removal: This API element is subject to removal in a future version.voidrelease()Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Details
-
Accumulator
public Accumulator()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
append
Deprecated, for removal: This API element is subject to removal in a future version. -
insert
Deprecated, for removal: This API element is subject to removal in a future version. -
getByteBuffers
Deprecated, for removal: This API element is subject to removal in a future version. -
getTotalLength
public long getTotalLength()Deprecated, for removal: This API element is subject to removal in a future version. -
getSize
public int getSize()Deprecated, for removal: This API element is subject to removal in a future version. -
release
public void release()Deprecated, for removal: This API element is subject to removal in a future version.
-
RetainableByteBuffer.DynamicCapacity