RED-6264: Corrected metric name and added clarifying comment
This commit is contained in:
parent
c6837d41af
commit
f9d61a57c1
@ -115,7 +115,9 @@ public class AnalyzeService {
|
|||||||
this.importedRedactionService = importedRedactionService;
|
this.importedRedactionService = importedRedactionService;
|
||||||
this.sectionFinder = sectionFinder;
|
this.sectionFinder = sectionFinder;
|
||||||
|
|
||||||
FunctionTimer.builder("redactmanager_reanalyze.pagewise", //
|
// This is just here as an example of how to do a timer with a counter.
|
||||||
|
// For a full implementation this should be moved to a common helper class.
|
||||||
|
FunctionTimer.builder("redactmanager_analyze.pagewise", //
|
||||||
analyzeCounter, //
|
analyzeCounter, //
|
||||||
PagewiseCounter::getTotalPageCount, //
|
PagewiseCounter::getTotalPageCount, //
|
||||||
PagewiseCounter::getTotalTimeMillis, //
|
PagewiseCounter::getTotalTimeMillis, //
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user