java.lang.Object
org.eclipse.jgit.blame.BlameGenerator.Stats
- Enclosing class:
- BlameGenerator
Stats about the work done by the generator
- Since:
- 7.2
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintNumber of candidates taken from the queuebooleanThe generator found a blamed version in the cache
-
Constructor Details
-
Stats
public Stats()
-
-
Method Details
-
getCandidatesVisited
public int getCandidatesVisited()Number of candidates taken from the queueThe 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
-