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