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
A simple
ByteBlockPool.Allocator
that never recycles.-
Field Summary
Fields inherited from class org.apache.lucene.util.ByteBlockPool.Allocator
blockSize
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.lucene.util.ByteBlockPool.Allocator
getByteBlock, recycleByteBlocks
-
Constructor Details
-
DirectAllocator
public DirectAllocator() -
DirectAllocator
public DirectAllocator(int blockSize)
-
-
Method Details
-
recycleByteBlocks
public void recycleByteBlocks(byte[][] blocks, int start, int end) - Specified by:
recycleByteBlocks
in classByteBlockPool.Allocator
-