ch.bind.philib.util
Class CounterRepo

java.lang.Object
  extended by ch.bind.philib.util.CounterRepo

public final class CounterRepo
extends Object


Field Summary
static CounterRepo DEFAULT
           
 
Constructor Summary
CounterRepo()
           
 
Method Summary
 Counter forClass(Class<?> clazz)
           
 Counter forClass(Class<?> clazz, String unit)
           
 Counter forName(String name)
           
 Counter forName(String name, String unit)
           
 Collection<Counter> getCounters()
           
 void remove(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT

public static final CounterRepo DEFAULT
Constructor Detail

CounterRepo

public CounterRepo()
Method Detail

forClass

public Counter forClass(Class<?> clazz)

forClass

public Counter forClass(Class<?> clazz,
                        String unit)

forName

public Counter forName(String name)

forName

public Counter forName(String name,
                       String unit)

remove

public void remove(String name)

getCounters

public Collection<Counter> getCounters()


Copyright © 2013. All Rights Reserved.