org.apache.commons.monitoring.store
Interface DataStore

All Known Implementing Classes:
DefaultDataStore

public interface DataStore


Method Summary
 void addToCounter(Counter defaultCounter, double delta)
           
 void addToGauge(Gauge gauge, long time, double value)
           
 void clearCounters()
           
 void createOrNoopGauge(Role role)
           
 Collection<Counter> getCounters()
           
 Map<Long,Double> getGaugeValues(GaugeValuesRequest gaugeValuesRequest)
           
 Counter getOrCreateCounter(Counter.Key key)
           
 

Method Detail

getOrCreateCounter

Counter getOrCreateCounter(Counter.Key key)

clearCounters

void clearCounters()

getCounters

Collection<Counter> getCounters()

addToCounter

void addToCounter(Counter defaultCounter,
                  double delta)

getGaugeValues

Map<Long,Double> getGaugeValues(GaugeValuesRequest gaugeValuesRequest)

createOrNoopGauge

void createOrNoopGauge(Role role)

addToGauge

void addToGauge(Gauge gauge,
                long time,
                double value)


Copyright © 2008–2013 The Apache Software Foundation. All rights reserved.