Class ByteBlockPool.DirectAllocator
A simple ByteBlockPool.Allocator that never recycles.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Lucene.Net.Util
Assembly: Lucene.Net.dll
Syntax
public sealed class DirectAllocator : ByteBlockPool.Allocator
Constructors
| Improve this Doc View SourceDirectAllocator()
Declaration
public DirectAllocator()
DirectAllocator(Int32)
Declaration
public DirectAllocator(int blockSize)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | blockSize |
Methods
| Improve this Doc View SourceRecycleByteBlocks(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 |