Package org.eclipse.jetty.io
Class ByteBufferPool.Bucket
- java.lang.Object
-
- org.eclipse.jetty.io.ByteBufferPool.Bucket
-
- Enclosing interface:
- ByteBufferPool
public static class ByteBufferPool.Bucket extends Object
-
-
Constructor Summary
Constructors Constructor Description Bucket(ByteBufferPool pool, int bufferSize, int maxSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ByteBufferacquire(boolean direct)voidclear()voidrelease(ByteBuffer buffer)StringtoString()
-
-
-
Constructor Detail
-
Bucket
public Bucket(ByteBufferPool pool, int bufferSize, int maxSize)
-
-
Method Detail
-
acquire
public ByteBuffer acquire(boolean direct)
-
release
public void release(ByteBuffer buffer)
-
clear
public void clear()
-
-