ByteBlockPool.DirectAllocator, ByteBlockPool.DirectTrackingAllocator, RecyclingByteBlockAllocatorpublic abstract static class ByteBlockPool.Allocator extends Object
| Modifier and Type | Field | Description |
|---|---|---|
protected int |
blockSize |
| Constructor | Description |
|---|---|
Allocator(int blockSize) |
| Modifier and Type | Method | 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-2018 Apache Software Foundation. All Rights Reserved.