Class StandardCounterRepository
java.lang.Object
org.apache.nifi.controller.repository.StandardCounterRepository
- All Implemented Interfaces:
CounterRepository
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ConcurrentMap<String, ConcurrentMap<String, Counter>> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadjustCounter(String counterContext, String name, long delta) getCounter(String counterContext, String name) getCounters(String counterContext) private StringgetIdentifier(String counterContext, String name) private CountergetModifiableCounter(String counterContext, String name) resetCounter(String identifier)
-
Field Details
-
processorCounters
-
-
Constructor Details
-
StandardCounterRepository
public StandardCounterRepository()
-
-
Method Details
-
getCounter
- Specified by:
getCounterin interfaceCounterRepository
-
getIdentifier
-
getModifiableCounter
-
adjustCounter
- Specified by:
adjustCounterin interfaceCounterRepository
-
getCounters
- Specified by:
getCountersin interfaceCounterRepository
-
getCounters
- Specified by:
getCountersin interfaceCounterRepository
-
resetCounter
- Specified by:
resetCounterin interfaceCounterRepository
-