Interface CounterManager
-
- All Known Implementing Classes:
CounterManagerImpl
@Deprecated(since="11.4") public interface CounterManager
Deprecated.since 11.4: use dropwizard metrics counter insteadService 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
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description void
decreaseCounter(String counterName)
Deprecated.Decrease a countervoid
decreaseCounter(String counterName, long value)
Deprecated.void
disableCounters()
Deprecated.Desable all coutersvoid
enableCounters()
Deprecated.Enables all countersCounterHistoryStack
getCounterHistory(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 Detail
-
increaseCounter
void increaseCounter(String counterName)
Deprecated.Increase a counter
-
increaseCounter
void increaseCounter(String counterName, long value)
Deprecated.
-
setCounterValue
void setCounterValue(String counterName, long value)
Deprecated.Set the value of a counter
-
decreaseCounter
void decreaseCounter(String counterName)
Deprecated.Decrease a counter
-
decreaseCounter
void decreaseCounter(String counterName, long value)
Deprecated.
-
getCounterHistory
CounterHistoryStack getCounterHistory(String counterName)
Deprecated.Get recorder values of the counter over time
-
enableCounters
void enableCounters()
Deprecated.Enables all counters
-
disableCounters
void disableCounters()
Deprecated.Desable all couters
-
-