org.apache.commons.monitoring.store
Class DefaultDataStore
java.lang.Object
org.apache.commons.monitoring.store.DefaultDataStore
- All Implemented Interfaces:
- DataStore
public class DefaultDataStore
- extends Object
- implements DataStore
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultDataStore
public DefaultDataStore()
getOrCreateCounter
public Counter getOrCreateCounter(Counter.Key key)
- Specified by:
getOrCreateCounter
in interface DataStore
clearCounters
public void clearCounters()
- Specified by:
clearCounters
in interface DataStore
getCounters
public Collection<Counter> getCounters()
- Specified by:
getCounters
in interface DataStore
addToCounter
public void addToCounter(Counter counter,
double delta)
- Specified by:
addToCounter
in interface DataStore
getGaugeValues
public Map<Long,Double> getGaugeValues(GaugeValuesRequest gaugeValuesRequest)
- Specified by:
getGaugeValues
in interface DataStore
createOrNoopGauge
public void createOrNoopGauge(Role role)
- Specified by:
createOrNoopGauge
in interface DataStore
addToGauge
public void addToGauge(Gauge gauge,
long time,
double value)
- Specified by:
addToGauge
in interface DataStore
Copyright © 2008–2013 The Apache Software Foundation. All rights reserved.