Package org.eclipse.jetty.io
Class ByteBufferPool.Lease
java.lang.Object
org.eclipse.jetty.io.ByteBufferPool.Lease
- Enclosing interface:
- ByteBufferPool
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionacquire
(int capacity, boolean direct) void
append
(ByteBuffer buffer, boolean recycle) int
getSize()
long
void
insert
(int index, ByteBuffer buffer, boolean recycle) void
recycle()
void
release
(ByteBuffer buffer)
-
Constructor Details
-
Lease
-
-
Method Details
-
acquire
-
append
-
insert
-
getByteBuffers
-
getTotalLength
public long getTotalLength() -
getSize
public int getSize() -
recycle
public void recycle() -
release
-