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 Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
blockSize
protected final int blockSize
ByteBlockPool.Allocator
public ByteBlockPool.Allocator(int blockSize)
recycleByteBlocks
public abstract void recycleByteBlocks(byte[][] blocks,
int start,
int end)
recycleByteBlocks
public void recycleByteBlocks(List<byte[]> blocks)
getByteBlock
public byte[] getByteBlock()
Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.