public abstract static class ByteBlockPool.Allocator extends Object
Modifier and Type | Field and Description |
---|---|
protected int |
blockSize |
Constructor and Description |
---|
ByteBlockPool.Allocator(int blockSize) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getByteBlock() |
abstract void |
recycleByteBlocks(byte[][] blocks,
int start,
int end) |
void |
recycleByteBlocks(List<byte[]> blocks) |
public abstract void recycleByteBlocks(byte[][] blocks, int start, int end)
public void recycleByteBlocks(List<byte[]> blocks)
public byte[] getByteBlock()