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 BufferPool
public void put(java.nio.ByteBuffer buf)
put
in interface BufferPool
public void putAll(java.util.List<java.nio.ByteBuffer> list)
putAll
in interface BufferPool