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

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    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.
     
    int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    long
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    insert(int index, RetainableByteBuffer buffer)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Accumulator

      public Accumulator()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • append

      public void append(RetainableByteBuffer buffer)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • insert

      public void insert(int index, RetainableByteBuffer buffer)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getByteBuffers

      public List<ByteBuffer> 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.