public static class ByteBufferPool.Bucket extends Object
| Constructor and Description |
|---|
Bucket(ByteBufferPool pool,
int bufferSize,
int maxSize) |
| Modifier and Type | Method and Description |
|---|---|
ByteBuffer |
acquire(boolean direct) |
void |
clear() |
void |
release(ByteBuffer buffer) |
String |
toString() |
public Bucket(ByteBufferPool pool, int bufferSize, int maxSize)
public ByteBuffer acquire(boolean direct)
public void release(ByteBuffer buffer)
public void clear()
Copyright © 1995-2016 Webtide. All Rights Reserved.