Class ByteBlockPool.Allocator
Abstract class for allocating and freeing byte blocks.
Inheritance
System.Object
    ByteBlockPool.Allocator
      
      
      
  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 abstract class AllocatorConstructors
| Improve this Doc View SourceAllocator(Int32)
Declaration
protected Allocator(int blockSize)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | blockSize | 
Fields
| Improve this Doc View Sourcem_blockSize
Declaration
protected readonly int m_blockSizeField Value
| Type | Description | 
|---|---|
| System.Int32 | 
Methods
| Improve this Doc View SourceGetByteBlock()
Declaration
public virtual byte[] GetByteBlock()Returns
| Type | Description | 
|---|---|
| System.Byte[] | 
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 | 
RecycleByteBlocks(IList<Byte[]>)
Declaration
public virtual void RecycleByteBlocks(IList<byte[]> blocks)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Collections.Generic.IList<System.Byte[]> | blocks |