• API

    Show / Hide Table of Contents

    Class Int32BlockPool.Allocator

    Abstract class for allocating and freeing System.Int32 blocks.

    Inheritance
    System.Object
    Int32BlockPool.Allocator
    Int32BlockPool.DirectAllocator
    RecyclingInt32BlockAllocator
    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 Allocator

    Constructors

    | Improve this Doc View Source

    Allocator(Int32)

    Declaration
    public 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

    GetInt32Block()

    NOTE: This was getIntBlock() in Lucene

    Declaration
    public virtual int[] GetInt32Block()
    Returns
    Type Description
    System.Int32[]
    | Improve this Doc View Source

    RecycleInt32Blocks(Int32[][], Int32, Int32)

    NOTE: This was recycleIntBlocks() in Lucene

    Declaration
    public abstract void RecycleInt32Blocks(int[][] blocks, int start, int end)
    Parameters
    Type Name Description
    System.Int32[][] blocks
    System.Int32 start
    System.Int32 end
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)