Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class ByteBlockPool.Allocator

    Abstract class for allocating and freeing byte blocks.

    Inheritance
    object
    ByteBlockPool.Allocator
    ByteBlockPool.DirectAllocator
    ByteBlockPool.DirectTrackingAllocator
    RecyclingByteBlockAllocator
    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 ByteBlockPool.Allocator

    Constructors

    Allocator(int)

    Abstract class for allocating and freeing byte blocks.

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

    Fields

    m_blockSize

    Abstract class for allocating and freeing byte blocks.

    Declaration
    protected readonly int m_blockSize
    Field Value
    Type Description
    int

    Methods

    GetByteBlock()

    Abstract class for allocating and freeing byte blocks.

    Declaration
    public virtual byte[] GetByteBlock()
    Returns
    Type Description
    byte[]

    RecycleByteBlocks(byte[][], int, int)

    Abstract class for allocating and freeing byte blocks.

    Declaration
    public abstract void RecycleByteBlocks(byte[][] blocks, int start, int end)
    Parameters
    Type Name Description
    byte[][] blocks
    int start
    int end

    RecycleByteBlocks(IList<byte[]>)

    Abstract class for allocating and freeing byte blocks.

    Declaration
    public virtual void RecycleByteBlocks(IList<byte[]> blocks)
    Parameters
    Type Name Description
    IList<byte[]> blocks
    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.