Class BlameGenerator.Stats

java.lang.Object
org.eclipse.jgit.blame.BlameGenerator.Stats
Enclosing class:
BlameGenerator

public static class BlameGenerator.Stats extends Object
Stats about the work done by the generator
Since:
7.2
  • Constructor Details

    • Stats

      public Stats()
  • Method Details

    • getCandidatesVisited

      public int getCandidatesVisited()
      Number of candidates taken from the queue

      The generator could signal it's done without exhausting all candidates if there is no more remaining lines or the last visited candidate is found in the cache.

      Returns:
      number of candidates taken from the queue
    • isCacheHit

      public boolean isCacheHit()
      The generator found a blamed version in the cache
      Returns:
      true if we used results from the cache