Class FlushInfo

java.lang.Object
org.apache.lucene.store.FlushInfo

public class FlushInfo extends Object
A FlushInfo provides information required for a FLUSH context. It is used as part of an IOContext in case of FLUSH context.
  • Field Details

    • numDocs

      public final int numDocs
    • estimatedSegmentSize

      public final long estimatedSegmentSize
  • Constructor Details

    • FlushInfo

      public FlushInfo(int numDocs, long estimatedSegmentSize)
      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.

  • Method Details