Class StatisticsCollectorImpl
- java.lang.Object
-
- org.opennms.netmgt.timeseries.stats.StatisticsCollectorImpl
-
- All Implemented Interfaces:
StatisticsCollector
public class StatisticsCollectorImpl extends Object implements StatisticsCollector
-
-
Constructor Summary
Constructors Constructor Description StatisticsCollectorImpl(Integer numWriterThreads)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<org.opennms.integration.api.v1.timeseries.Metric>
getTopNMetricsWithMostTags()
List.get(0) => has most tags (top n)List<String>
getTopNTags()
void
record(Collection<org.opennms.integration.api.v1.timeseries.Sample> samples)
-
-
-
Constructor Detail
-
StatisticsCollectorImpl
@Inject public StatisticsCollectorImpl(@Named("timeseries.writer_threads") Integer numWriterThreads)
-
-
Method Detail
-
record
public void record(Collection<org.opennms.integration.api.v1.timeseries.Sample> samples)
- Specified by:
record
in interfaceStatisticsCollector
-
getTopNMetricsWithMostTags
public List<org.opennms.integration.api.v1.timeseries.Metric> getTopNMetricsWithMostTags()
List.get(0) => has most tags (top n)- Specified by:
getTopNMetricsWithMostTags
in interfaceStatisticsCollector
-
getTopNTags
public List<String> getTopNTags()
- Specified by:
getTopNTags
in interfaceStatisticsCollector
-
-