Show / Hide Table of Contents

    Class ByteBlockPool.DirectAllocator

    A simple ByteBlockPool.Allocator that never recycles.

    Inheritance
    System.Object
    ByteBlockPool.Allocator
    ByteBlockPool.DirectAllocator
    Inherited Members
    ByteBlockPool.Allocator.m_blockSize
    ByteBlockPool.Allocator.RecycleByteBlocks(IList<Byte[]>)
    ByteBlockPool.Allocator.GetByteBlock()
    Namespace: Lucene.Net.Util
    Assembly: Lucene.Net.dll
    Syntax
    public sealed class DirectAllocator : ByteBlockPool.Allocator

    Constructors

    | Improve this Doc View Source

    DirectAllocator()

    Declaration
    public DirectAllocator()
    | Improve this Doc View Source

    DirectAllocator(Int32)

    Declaration
    public DirectAllocator(int blockSize)
    Parameters
    Type Name Description
    System.Int32 blockSize

    Methods

    | Improve this Doc View Source

    RecycleByteBlocks(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
    Overrides
    ByteBlockPool.Allocator.RecycleByteBlocks(Byte[][], Int32, Int32)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)