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