Class ByteBlockPool.DirectTrackingAllocator
Inheritance
System.Object
ByteBlockPool.DirectTrackingAllocator
Assembly: Lucene.Net.dll
Syntax
public class DirectTrackingAllocator : ByteBlockPool.Allocator
Constructors
|
Improve this Doc
View Source
DirectTrackingAllocator(Counter)
Declaration
public DirectTrackingAllocator(Counter bytesUsed)
Parameters
Type |
Name |
Description |
Counter |
bytesUsed |
|
|
Improve this Doc
View Source
DirectTrackingAllocator(Int32, Counter)
Declaration
public DirectTrackingAllocator(int blockSize, Counter bytesUsed)
Parameters
Type |
Name |
Description |
System.Int32 |
blockSize |
|
Counter |
bytesUsed |
|
Methods
|
Improve this Doc
View Source
GetByteBlock()
Declaration
public override byte[] GetByteBlock()
Returns
Type |
Description |
System.Byte[] |
|
Overrides
|
Improve this Doc
View Source
RecycleByteBlocks(Byte[][], Int32, Int32)
Declaration
public override void RecycleByteBlocks(byte[][] blocks, int start, int end)
Parameters
Type |
Name |
Description |
System.Byte[][] |
blocks |
|
System.Int32 |
start |
|
System.Int32 |
end |
|
Overrides