Class ByteBlockPool.Allocator
Abstract class for allocating and freeing byte
blocks.
Inheritance
System.Object
ByteBlockPool.Allocator
Assembly: Lucene.Net.dll
Syntax
public abstract class Allocator : object
Constructors
|
Improve this Doc
View Source
Allocator(Int32)
Declaration
protected Allocator(int blockSize)
Parameters
Type |
Name |
Description |
System.Int32 |
blockSize |
|
Fields
|
Improve this Doc
View Source
m_blockSize
Declaration
protected readonly int m_blockSize
Field Value
Type |
Description |
System.Int32 |
|
Methods
|
Improve this Doc
View Source
GetByteBlock()
Declaration
public virtual byte[] GetByteBlock()
Returns
Type |
Description |
System.Byte[] |
|
|
Improve this Doc
View Source
RecycleByteBlocks(IList<Byte[]>)
Declaration
public virtual void RecycleByteBlocks(IList<byte[]> blocks)
Parameters
Type |
Name |
Description |
IList<System.Byte[]> |
blocks |
|
|
Improve this Doc
View Source
RecycleByteBlocks(Byte[][], Int32, Int32)
Declaration
public abstract void RecycleByteBlocks(byte[][] blocks, int start, int end)
Parameters
Type |
Name |
Description |
System.Byte[][] |
blocks |
|
System.Int32 |
start |
|
System.Int32 |
end |
|