Package org.apache.lucene.util
Class ByteBlockPool.Allocator
- java.lang.Object
-
- org.apache.lucene.util.ByteBlockPool.Allocator
-
- Direct Known Subclasses:
ByteBlockPool.DirectAllocator
,ByteBlockPool.DirectTrackingAllocator
,RecyclingByteBlockAllocator
- Enclosing class:
- ByteBlockPool
public abstract static class ByteBlockPool.Allocator extends java.lang.Object
Abstract class for allocating and freeing byte blocks.
-
-
Constructor Summary
Constructors Constructor Description Allocator(int blockSize)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description byte[]
getByteBlock()
abstract void
recycleByteBlocks(byte[][] blocks, int start, int end)
void
recycleByteBlocks(java.util.List<byte[]> blocks)
-