Package org.eclipse.jetty.io
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 java.lang.ObjectDeprecated.
-
-
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.ByteBufferacquire(int capacity, boolean direct)Deprecated.voidappend(java.nio.ByteBuffer buffer, boolean recycle)Deprecated.java.util.List<java.nio.ByteBuffer>getByteBuffers()Deprecated.intgetSize()Deprecated.longgetTotalLength()Deprecated.voidinsert(int index, java.nio.ByteBuffer buffer, boolean recycle)Deprecated.voidrecycle()Deprecated.voidrelease(java.nio.ByteBuffer buffer)Deprecated.
-
-
-
Constructor Detail
-
Lease
public Lease(ByteBufferPool byteBufferPool)
Deprecated.
-
-
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.
-
-