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()
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.