Class ByteBufferPool.Lease

  • Enclosing interface:
    ByteBufferPool

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

      Constructors 
      Constructor Description
      Lease​(ByteBufferPool byteBufferPool)
      Deprecated.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      java.nio.ByteBuffer acquire​(int capacity, boolean direct)
      Deprecated.
       
      void append​(java.nio.ByteBuffer buffer, boolean recycle)
      Deprecated.
       
      java.util.List<java.nio.ByteBuffer> getByteBuffers()
      Deprecated.
       
      int getSize()
      Deprecated.
       
      long getTotalLength()
      Deprecated.
       
      void insert​(int index, java.nio.ByteBuffer buffer, boolean recycle)
      Deprecated.
       
      void recycle()
      Deprecated.
       
      void release​(java.nio.ByteBuffer buffer)
      Deprecated.
       
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • acquire

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

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

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

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

        public long getTotalLength()
        Deprecated.
      • getSize

        public int getSize()
        Deprecated.
      • recycle

        public void recycle()
        Deprecated.
      • release

        public void release​(java.nio.ByteBuffer buffer)
        Deprecated.