Package org.apache.lucene.util
Class ByteBlockPool.DirectAllocator
- java.lang.Object
-
- org.apache.lucene.util.ByteBlockPool.Allocator
-
- org.apache.lucene.util.ByteBlockPool.DirectAllocator
-
- Enclosing class:
- ByteBlockPool
public static final class ByteBlockPool.DirectAllocator extends ByteBlockPool.Allocator
A simpleByteBlockPool.Allocatorthat never recycles.
-
-
Field Summary
-
Fields inherited from class org.apache.lucene.util.ByteBlockPool.Allocator
blockSize
-
-
Constructor Summary
Constructors Constructor Description DirectAllocator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidrecycleByteBlocks(byte[][] blocks, int start, int end)-
Methods inherited from class org.apache.lucene.util.ByteBlockPool.Allocator
getByteBlock
-
-
-
-
Method Detail
-
recycleByteBlocks
public void recycleByteBlocks(byte[][] blocks, int start, int end)- Specified by:
recycleByteBlocksin classByteBlockPool.Allocator
-
-