Interface CounterManager
- All Known Implementing Classes:
CounterManagerImpl
Deprecated.
since 11.4: use dropwizard metrics counter instead
Service interface to manage Counters. This services hides the Counters implementation so that Counters's updated
don't have to be dependent on Simon
- Author:
- Tiry ([email protected])
-
Method Summary
Modifier and TypeMethodDescriptionvoiddecreaseCounter(String counterName) Deprecated.Decrease a countervoiddecreaseCounter(String counterName, long value) Deprecated.voidDeprecated.Desable all coutersvoidDeprecated.Enables all countersgetCounterHistory(String counterName) Deprecated.Get recorder values of the counter over timevoidincreaseCounter(String counterName) Deprecated.Increase a countervoidincreaseCounter(String counterName, long value) Deprecated.voidsetCounterValue(String counterName, long value) Deprecated.Set the value of a counter
-
Method Details
-
increaseCounter
Deprecated.Increase a counter -
increaseCounter
Deprecated. -
setCounterValue
Deprecated.Set the value of a counter -
decreaseCounter
Deprecated.Decrease a counter -
decreaseCounter
Deprecated. -
getCounterHistory
Deprecated.Get recorder values of the counter over time -
enableCounters
void enableCounters()Deprecated.Enables all counters -
disableCounters
void disableCounters()Deprecated.Desable all couters
-