• API

    Show / Hide Table of Contents

    Class FlushInfo

    A FlushInfo provides information required for a FLUSH context. It is used as part of an IOContext in case of FLUSH context.

    Inheritance
    System.Object
    FlushInfo
    Inherited Members
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: Lucene.Net.Store
    Assembly: Lucene.Net.dll
    Syntax
    public class FlushInfo

    Constructors

    | Improve this Doc View Source

    FlushInfo(Int32, Int64)

    Creates a new FlushInfo instance from the values required for a FLUSH IOContext context.

    These values are only estimates and are not the actual values.

    Declaration
    public FlushInfo(int numDocs, long estimatedSegmentSize)
    Parameters
    Type Name Description
    System.Int32 numDocs
    System.Int64 estimatedSegmentSize

    Properties

    | Improve this Doc View Source

    EstimatedSegmentSize

    Declaration
    public long EstimatedSegmentSize { get; }
    Property Value
    Type Description
    System.Int64
    | Improve this Doc View Source

    NumDocs

    Declaration
    public int NumDocs { get; }
    Property Value
    Type Description
    System.Int32

    Methods

    | Improve this Doc View Source

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Boolean
    Overrides
    System.Object.Equals(System.Object)
    | Improve this Doc View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    Overrides
    System.Object.GetHashCode()
    | Improve this Doc View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    System.Object.ToString()
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)