Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.runtime.management.counters
Class CounterHelper

java.lang.Object
  extended by 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)

Constructor Summary
CounterHelper()
           
 
Method Summary
static void decreaseCounter(String counterName)
           
static void decreaseCounter(String counterName, long value)
           
static void increaseCounter(String counterName)
           
static void increaseCounter(String counterName, long value)
           
static void setCounterValue(String counterName, long value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CounterHelper

public CounterHelper()
Method Detail

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)

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.