C# Class Lucene.Net.Index.DocumentsWriter.ByteBlockAllocator

Inheritance: Lucene.Net.Index.ByteBlockPool.Allocator
Show file Open project: synhershko/lucene.net

Public Methods

Method Description
ByteBlockAllocator ( DocumentsWriter enclosingInstance, int blockSize ) : System
GetByteBlock ( bool trackAllocations ) : byte[]
RecycleByteBlocks ( IList blocks ) : void
RecycleByteBlocks ( byte blocks, int start, int end ) : void

Private Methods

Method Description
InitBlock ( DocumentsWriter enclosingInstance ) : void

Method Details

ByteBlockAllocator() public method

public ByteBlockAllocator ( DocumentsWriter enclosingInstance, int blockSize ) : System
enclosingInstance DocumentsWriter
blockSize int
return System

GetByteBlock() public method

public GetByteBlock ( bool trackAllocations ) : byte[]
trackAllocations bool
return byte[]

RecycleByteBlocks() public method

public RecycleByteBlocks ( IList blocks ) : void
blocks IList
return void

RecycleByteBlocks() public method

public RecycleByteBlocks ( byte blocks, int start, int end ) : void
blocks byte
start int
end int
return void