Class TieredMergePolicy.MergeScore

  • Enclosing class:
    TieredMergePolicy

    protected abstract static class TieredMergePolicy.MergeScore
    extends java.lang.Object
    Holds score and explanation for a single candidate merge.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected MergeScore()
      Sole constructor.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      (package private) abstract java.lang.String getExplanation()
      Human readable explanation of how the merge got this score.
      (package private) abstract double getScore()
      Returns the score for this merge candidate; lower scores are better.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MergeScore

        protected MergeScore()
        Sole constructor. (For invocation by subclass constructors, typically implicit.)
    • Method Detail

      • getScore

        abstract double getScore()
        Returns the score for this merge candidate; lower scores are better.
      • getExplanation

        abstract java.lang.String getExplanation()
        Human readable explanation of how the merge got this score.