All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.kairosdb.metrics4j.internal.CollectorCollection Maven / Gradle / Ivy

The newest version!
package org.kairosdb.metrics4j.internal;

import org.kairosdb.metrics4j.collectors.MetricCollector;
import org.kairosdb.metrics4j.internal.TagKey;
import org.kairosdb.metrics4j.reporting.ReportedMetric;

import java.time.Instant;
import java.util.Map;


/**
 A set of collectors, typically this is a set of collectors for the same
 method call but with different tags.
 */
public interface CollectorCollection
{
	//return a collector specific to the args passed, maybe change to set of string or map of tags.
	MetricCollector getCollector(TagKey tagKey);

	Iterable gatherMetrics(Instant now);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy