org.mortbay.loadbalancer
public class ByteBufferPool extends Object
Constructor Summary | |
---|---|
ByteBufferPool() | |
ByteBufferPool(int capacity, boolean direct) |
Method Summary | |
---|---|
void | add(ByteBuffer buffer) |
ByteBuffer | get() |
int | getCapacity() |
boolean | isDirect() |
void | setCapacity(int capacity) |
void | setDirect(boolean direct) |