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 TypeMethodDescriptionvoid
decreaseCounter
(String counterName) Deprecated.Decrease a countervoid
decreaseCounter
(String counterName, long value) Deprecated.void
Deprecated.Desable all coutersvoid
Deprecated.Enables all countersgetCounterHistory
(String counterName) Deprecated.Get recorder values of the counter over timevoid
increaseCounter
(String counterName) Deprecated.Increase a countervoid
increaseCounter
(String counterName, long value) Deprecated.void
setCounterValue
(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
-