Class ByteBufferPool.Lease

    • Constructor Detail

    • Method Detail

      • 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.