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