org.databene.stat
Class CounterRepository
java.lang.Object
org.databene.stat.CounterRepository
public class CounterRepository
- extends Object
Repository that binds LatencyCounter
s to a name and makes them available to clients.
Created: 14.01.2011 11:26:09
- Since:
- 2.0.0
- Author:
- Volker Bergmann
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static CounterRepository getInstance()
addSample
public void addSample(String name,
int latency)
getCounter
public LatencyCounter getCounter(String name)
getCounters
public Set<Map.Entry<String,LatencyCounter>> getCounters()
clear
public void clear()
printSummary
public void printSummary()
Copyright © 2013. All Rights Reserved.