Package org.apache.lucene.util
Class IntBlockPool.DirectAllocator
- java.lang.Object
-
- org.apache.lucene.util.IntBlockPool.Allocator
-
- org.apache.lucene.util.IntBlockPool.DirectAllocator
-
- Enclosing class:
- IntBlockPool
public static final class IntBlockPool.DirectAllocator extends IntBlockPool.Allocator
A simpleIntBlockPool.Allocator
that never recycles.
-
-
Field Summary
-
Fields inherited from class org.apache.lucene.util.IntBlockPool.Allocator
blockSize
-
-
Constructor Summary
Constructors Constructor Description DirectAllocator()
Creates a newIntBlockPool.DirectAllocator
with a default block size
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
recycleIntBlocks(int[][] blocks, int start, int end)
-
Methods inherited from class org.apache.lucene.util.IntBlockPool.Allocator
getIntBlock
-
-
-
-
Constructor Detail
-
DirectAllocator
public DirectAllocator()
Creates a newIntBlockPool.DirectAllocator
with a default block size
-
-
Method Detail
-
recycleIntBlocks
public void recycleIntBlocks(int[][] blocks, int start, int end)
- Specified by:
recycleIntBlocks
in classIntBlockPool.Allocator
-
-