Package org.kairosdb.metrics4j.internal
Class MetricsGatherer
- java.lang.Object
-
- org.kairosdb.metrics4j.internal.MetricsGatherer
-
- All Implemented Interfaces:
CollectorCollection
- Direct Known Subclasses:
CollectorCollectionAdapter,StaticCollectorCollection
public abstract class MetricsGatherer extends Object implements CollectorCollection
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classMetricsGatherer.AgedMetricCollector
-
Constructor Summary
Constructors Constructor Description MetricsGatherer()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Iterable<ReportedMetric>gatherMetrics(Instant now)protected abstract ArgKeygetArgKey()protected abstract Map<TagKey,MetricsGatherer.AgedMetricCollector>getCollectors()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.kairosdb.metrics4j.internal.CollectorCollection
getCollector
-
-
-
-
Method Detail
-
getArgKey
protected abstract ArgKey getArgKey()
-
getCollectors
protected abstract Map<TagKey,MetricsGatherer.AgedMetricCollector> getCollectors()
-
gatherMetrics
public Iterable<ReportedMetric> gatherMetrics(Instant now)
- Specified by:
gatherMetricsin interfaceCollectorCollection
-
-