org.apache.commons.monitoring.repositories
Interface Repository

All Superinterfaces:
Iterable<Counter>
All Known Implementing Classes:
DefaultRepository

public interface Repository
extends Iterable<Counter>


Field Summary
static Repository INSTANCE
           
 
Method Summary
 void addGauge(Gauge gauge)
           
 void clear()
           
 Counter getCounter(Counter.Key key)
           
 Map<Long,Double> getGaugeValues(long start, long end, Role role)
           
 StopWatch start(Counter counter)
           
 void stopGauge(Role role)
           
 
Methods inherited from interface java.lang.Iterable
iterator
 

Field Detail

INSTANCE

static final Repository INSTANCE
Method Detail

getCounter

Counter getCounter(Counter.Key key)

clear

void clear()

start

StopWatch start(Counter counter)

addGauge

void addGauge(Gauge gauge)

stopGauge

void stopGauge(Role role)

getGaugeValues

Map<Long,Double> getGaugeValues(long start,
                                long end,
                                Role role)


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