intarsys runtime library

de.intarsys.tools.monitor
Class Counter

java.lang.Object
  extended by de.intarsys.tools.monitor.Counter

public class Counter
extends Object

An implementation of a counter object that can be accessed by name.


Method Summary
 void decrement()
           
static Counter get(String name)
           
 String getName()
           
 int getValue()
           
 void increment()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

get

public static Counter get(String name)

decrement

public void decrement()

getName

public String getName()
Returns:
Returns the name.

getValue

public int getValue()

increment

public void increment()

intarsys runtime library

Copyright © 2012 intarsys consulting GmbH. All Rights Reserved.