Show / Hide Table of Contents

    Class OfflineSorter.BufferSize

    A bit more descriptive unit for constructors.

    Inheritance
    System.Object
    OfflineSorter.BufferSize
    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 sealed class BufferSize

    Methods

    | Improve this Doc View Source

    Automatic()

    Approximately half of the currently available free heap, but no less than ABSOLUTE_MIN_SORT_BUFFER_SIZE. However if current heap allocation is insufficient or if there is a large portion of unallocated heap-space available for sorting consult with max allowed heap size.

    Declaration
    public static OfflineSorter.BufferSize Automatic()
    Returns
    Type Description
    OfflineSorter.BufferSize
    | Improve this Doc View Source

    Megabytes(Int64)

    Creates a OfflineSorter.BufferSize in MB. The given values must be > 0 and < 2048.

    Declaration
    public static OfflineSorter.BufferSize Megabytes(long mb)
    Parameters
    Type Name Description
    System.Int64 mb
    Returns
    Type Description
    OfflineSorter.BufferSize

    Extension Methods

    Number.IsNumber(Object)

    See Also

    Automatic()
    Megabytes(Int64)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2019 Licensed to the Apache Software Foundation (ASF)