Interface RichGaugeReader
- All Known Subinterfaces:
RichGaugeRepository
- All Known Implementing Classes:
InMemoryRichGaugeRepository
,MultiMetricRichGaugeReader
public interface RichGaugeReader
A basic set of read operations forRichGauge
instances.
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
count()
Return the number of gauge values available.Iterable<RichGauge>
findAll()
Find all instances of rich gauge known to this reader.RichGauge
findOne(String name)
Find a single instance of a rich gauge by name.
Method Detail
findOne
RichGauge findOne(String name)
Find a single instance of a rich gauge by name.- Parameters:
name
- the name of the gauge- Returns:
- a rich gauge value
findAll
Iterable<RichGauge> findAll()
Find all instances of rich gauge known to this reader.- Returns:
- all instances known to this reader
count
long count()
Return the number of gauge values available.- Returns:
- the number of values