Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class Int32BlockPool.Allocator

    Abstract class for allocating and freeing int blocks.

    Inheritance
    object
    Int32BlockPool.Allocator
    Int32BlockPool.DirectAllocator
    RecyclingInt32BlockAllocator
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Lucene.Net.Util
    Assembly: Lucene.Net.dll
    Syntax
    public abstract class Int32BlockPool.Allocator

    Constructors

    Allocator(int)

    Abstract class for allocating and freeing int blocks.

    Declaration
    protected Allocator(int blockSize)
    Parameters
    Type Name Description
    int blockSize

    Fields

    m_blockSize

    Abstract class for allocating and freeing int blocks.

    Declaration
    protected readonly int m_blockSize
    Field Value
    Type Description
    int

    Methods

    GetInt32Block()

    NOTE: This was getIntBlock() in Lucene

    Declaration
    public virtual int[] GetInt32Block()
    Returns
    Type Description
    int[]

    RecycleInt32Blocks(int[][], int, int)

    NOTE: This was recycleIntBlocks() in Lucene

    Declaration
    public abstract void RecycleInt32Blocks(int[][] blocks, int start, int end)
    Parameters
    Type Name Description
    int[][] blocks
    int start
    int end
    Back to top Copyright © 2024 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.