Class CounterHelper


  • @Deprecated(since="11.4")
    public class CounterHelper
    extends Object
    Deprecated.
    since 11.4: use dropwizard metrics counter instead
    Dummy helper class to be used by code that updates the counters to avoid having to do the service lookup
    Author:
    Tiry ([email protected])
    • Constructor Detail

      • CounterHelper

        public CounterHelper()
        Deprecated.
    • Method Detail

      • increaseCounter

        public static void increaseCounter​(String counterName)
        Deprecated.
      • increaseCounter

        public static void increaseCounter​(String counterName,
                                           long value)
        Deprecated.
      • setCounterValue

        public static void setCounterValue​(String counterName,
                                           long value)
        Deprecated.
      • decreaseCounter

        public static void decreaseCounter​(String counterName)
        Deprecated.
      • decreaseCounter

        public static void decreaseCounter​(String counterName,
                                           long value)
        Deprecated.