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 voiddecreaseCounter(String counterName)Deprecated.Decrease a countervoiddecreaseCounter(String counterName, long value)Deprecated.voiddisableCounters()Deprecated.Desable all coutersvoidenableCounters()Deprecated.Enables all countersCounterHistoryStackgetCounterHistory(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 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 
 - 
 
 -