public class MultiBufferPool extends java.lang.Object implements BufferPool
| Constructor and Description |
|---|
MultiBufferPool(int maxBufferSize,
int maxItemsPerSize) |
MultiBufferPool(int maxBufferSize,
int maxItemsPerSize,
boolean threadSafe)
Creates a new instance of MultiBufferPool
|
public MultiBufferPool(int maxBufferSize,
int maxItemsPerSize,
boolean threadSafe)
public MultiBufferPool(int maxBufferSize,
int maxItemsPerSize)
public java.nio.ByteBuffer get(int size)
get in interface BufferPoolpublic void put(java.nio.ByteBuffer buf)
put in interface BufferPoolpublic void putAll(java.util.List<java.nio.ByteBuffer> list)
putAll in interface BufferPool