Package com.netflix.zuul.stats
Class NamedCountingMonitor
java.lang.Object
com.netflix.zuul.stats.NamedCountingMonitor
- All Implemented Interfaces:
NamedCount
Simple Epic counter with a name and a count.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
NamedCountingMonitor
-
-
Method Details
-
register
registers this objects -
increment
public long increment()increments the counter -
getName
- Specified by:
getName
in interfaceNamedCount
-
getCount
public long getCount()- Specified by:
getCount
in interfaceNamedCount
- Returns:
- the current count
-