Package org.apache.nifi.controller
Class StandardCounter
java.lang.Object
org.apache.nifi.controller.StandardCounter
- All Implemented Interfaces:
Counter
- Direct Known Subclasses:
StandardCounter.UnmodifiableCounter
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Stringprivate final Stringprivate final Stringprivate final AtomicLong -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
identifier
-
context
-
name
-
value
-
-
Constructor Details
-
StandardCounter
-
-
Method Details
-
adjust
public void adjust(long delta) -
getName
-
getValue
public long getValue() -
getContext
- Specified by:
getContextin interfaceCounter
-
getIdentifier
- Specified by:
getIdentifierin interfaceCounter
-
reset
public void reset() -
toString
-
unmodifiableCounter
-