Class FlushInfo


  • public class FlushInfo
    extends java.lang.Object

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

    • Constructor Summary

      Constructors 
      Constructor Description
      FlushInfo​(int numDocs, long estimatedSegmentSize)
      Creates a new FlushInfo instance from the values required for a FLUSH IOContext context.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • numDocs

        public final int numDocs
      • estimatedSegmentSize

        public final long estimatedSegmentSize
    • Constructor Detail

      • 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 Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object