public class ByteBufferPool
extends java.lang.Object
Constructor and Description |
---|
ByteBufferPool() |
ByteBufferPool(int capacity,
boolean direct) |
Modifier and Type | Method and Description |
---|---|
void |
add(java.nio.ByteBuffer buffer) |
java.nio.ByteBuffer |
get() |
int |
getCapacity() |
boolean |
isDirect() |
void |
setCapacity(int capacity) |
void |
setDirect(boolean direct) |
Copyright © 2004 Mortbay Consulting Pty. Ltd. All Rights Reserved.