diff --git a/redaction-service-v1/redaction-service-server-v1/src/main/java/com/iqser/red/service/redaction/v1/server/redaction/service/analyze/AnalyzeService.java b/redaction-service-v1/redaction-service-server-v1/src/main/java/com/iqser/red/service/redaction/v1/server/redaction/service/analyze/AnalyzeService.java index 2b68f925..8276db0f 100644 --- a/redaction-service-v1/redaction-service-server-v1/src/main/java/com/iqser/red/service/redaction/v1/server/redaction/service/analyze/AnalyzeService.java +++ b/redaction-service-v1/redaction-service-server-v1/src/main/java/com/iqser/red/service/redaction/v1/server/redaction/service/analyze/AnalyzeService.java @@ -115,7 +115,9 @@ public class AnalyzeService { this.importedRedactionService = importedRedactionService; 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, // PagewiseCounter::getTotalPageCount, // PagewiseCounter::getTotalTimeMillis, //