#define LUCENE_CLASS(Name)
Definition LuceneObject.h:24
Definition ByteBlockPool.h:54
virtual void recycleByteBlocks(Collection< ByteArray > blocks)=0
virtual ByteArray getByteBlock(bool trackAllocations)=0
virtual void recycleByteBlocks(Collection< ByteArray > blocks, int32_t start, int32_t end)=0
virtual ~ByteBlockPoolAllocatorBase()
int32_t newSlice(int32_t size)
static const int32_t levelSizeArray[]
Definition ByteBlockPool.h:39
bool trackAllocations
Definition ByteBlockPool.h:42
static const int32_t nextLevelArray[]
Definition ByteBlockPool.h:38
Collection< ByteArray > buffers
Definition ByteBlockPool.h:31
int32_t byteOffset
Definition ByteBlockPool.h:36
int32_t byteUpto
Definition ByteBlockPool.h:33
int32_t bufferUpto
Definition ByteBlockPool.h:32
ByteBlockPool(const ByteBlockPoolAllocatorBasePtr &allocator, bool trackAllocations)
ByteBlockPoolAllocatorBasePtr allocator
Definition ByteBlockPool.h:43
static int32_t FIRST_LEVEL_SIZE()
int32_t allocSlice(ByteArray slice, int32_t upto)
ByteArray buffer
Definition ByteBlockPool.h:35
Utility template class to handle collections that can be safely copied and shared.
Definition Collection.h:17
Definition AbstractAllTermDocs.h:12
boost::shared_ptr< ByteBlockPoolAllocatorBase > ByteBlockPoolAllocatorBasePtr
Definition LuceneTypes.h:90