Class ByteBlockPool.Allocator
Abstract class for allocating and freeing byte blocks.
Inheritance
ByteBlockPool.Allocator
Inherited Members
Namespace: Lucene.Net.Util
Assembly: Lucene.Net.dll
Syntax
public abstract class ByteBlockPool.Allocator
Constructors
Allocator(int)
Abstract class for allocating and freeing byte blocks.
Declaration
protected Allocator(int blockSize)
Parameters
Type | Name | Description |
---|---|---|
int | blockSize |
Fields
m_blockSize
Abstract class for allocating and freeing byte blocks.
Declaration
protected readonly int m_blockSize
Field Value
Type | Description |
---|---|
int |
Methods
GetByteBlock()
Abstract class for allocating and freeing byte blocks.
Declaration
public virtual byte[] GetByteBlock()
Returns
Type | Description |
---|---|
byte[] |
RecycleByteBlocks(byte[][], int, int)
Abstract class for allocating and freeing byte blocks.
Declaration
public abstract void RecycleByteBlocks(byte[][] blocks, int start, int end)
Parameters
Type | Name | Description |
---|---|---|
byte[][] | blocks | |
int | start | |
int | end |
RecycleByteBlocks(IList<byte[]>)
Abstract class for allocating and freeing byte blocks.
Declaration
public virtual void RecycleByteBlocks(IList<byte[]> blocks)
Parameters
Type | Name | Description |
---|---|---|
IList<byte[]> | blocks |