Class ByteBufferPool.Lease

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

@Deprecated(since="2021-05-27") public static class ByteBufferPool.Lease extends Object
Deprecated.
  • Constructor Details

  • Method Details

    • acquire

      public ByteBuffer acquire(int capacity, boolean direct)
      Deprecated.
    • append

      public void append(ByteBuffer buffer, boolean recycle)
      Deprecated.
    • insert

      public void insert(int index, ByteBuffer buffer, boolean recycle)
      Deprecated.
    • getByteBuffers

      public List<ByteBuffer> getByteBuffers()
      Deprecated.
    • getTotalLength

      public long getTotalLength()
      Deprecated.
    • getSize

      public int getSize()
      Deprecated.
    • recycle

      public void recycle()
      Deprecated.
    • release

      public void release(ByteBuffer buffer)
      Deprecated.