Interface CounterManager

  • All Known Implementing Classes:
    CounterManagerImpl

    @Deprecated(since="11.4")
    public interface CounterManager
    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 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