Class CounterHelper

java.lang.Object
org.nuxeo.runtime.management.counters.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])
  • Field Details

  • Constructor Details

    • CounterHelper

      public CounterHelper()
      Deprecated.
  • Method Details

    • 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.