public static final class ByteBlockPool.DirectAllocator extends ByteBlockPool.Allocator
ByteBlockPool.Allocator that never recycles.blockSize| Constructor and Description |
|---|
ByteBlockPool.DirectAllocator() |
ByteBlockPool.DirectAllocator(int blockSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
recycleByteBlocks(byte[][] blocks,
int start,
int end) |
getByteBlock, recycleByteBlockspublic ByteBlockPool.DirectAllocator()
public ByteBlockPool.DirectAllocator(int blockSize)
public void recycleByteBlocks(byte[][] blocks,
int start,
int end)
recycleByteBlocks in class ByteBlockPool.AllocatorCopyright © 2000-2012 Apache Software Foundation. All Rights Reserved.