org.nuxeo.runtime.management.counters
Class CounterHelper
java.lang.Object
org.nuxeo.runtime.management.counters.CounterHelper
public class CounterHelper
- extends Object
Dummy helper class to be used by code that updates the counters to avoid
having to do the service lookup
- Author:
- Tiry (tdelprat@nuxeo.com)
CounterHelper
public CounterHelper()
increaseCounter
public static void increaseCounter(String counterName)
increaseCounter
public static void increaseCounter(String counterName,
long value)
setCounterValue
public static void setCounterValue(String counterName,
long value)
decreaseCounter
public static void decreaseCounter(String counterName)
decreaseCounter
public static void decreaseCounter(String counterName,
long value)
Copyright © 2011 Nuxeo SAS. All Rights Reserved.