Uses of Interface
org.kairosdb.metrics4j.collectors.MetricCollector
-
-
Uses of MetricCollector in org.kairosdb.metrics4j
Methods in org.kairosdb.metrics4j with parameters of type MetricCollector Modifier and Type Method Description static voidMetricSourceManager. addSource(String className, String methodName, Map<String,String> tags, String help, MetricCollector collector)In some cases it is more helpful to have the metrics code call into your code to gather the metric or state of the system at the time of collection.static <T> TMetricSourceManager. setCollectorForSource(MetricCollector stats, Class<T> reporterClass)This method is provided for unit test purposes. -
Uses of MetricCollector in org.kairosdb.metrics4j.collectors
Subinterfaces of MetricCollector in org.kairosdb.metrics4j.collectors Modifier and Type Interface Description interfaceCollectorAll collectors must be thread safeinterfaceDoubleCollectorinterfaceDurationCollectorInterface for reporting time durations.interfaceLongCollectorinterfaceStringCollectorinterfaceTimeCollectorInterface for collecting wall clock time values -
Uses of MetricCollector in org.kairosdb.metrics4j.collectors.helpers
Classes in org.kairosdb.metrics4j.collectors.helpers that implement MetricCollector Modifier and Type Class Description classChainedCollector<C extends Collector>ChainedCollector lets you report metrics to more than one collector.classTimerCollector -
Uses of MetricCollector in org.kairosdb.metrics4j.collectors.impl
Classes in org.kairosdb.metrics4j.collectors.impl that implement MetricCollector Modifier and Type Class Description classBagCollectorThis collector does not do any aggregation.classChainedDoubleCollectorclassChainedDurationCollectorclassChainedLongCollectorclassChainedStringCollectorclassChainedTimeCollectorclassDoubleCounterclassDoubleGaugeclassLastTimeclassLongCounterclassLongGaugeclassMaxLongGaugeclassNullCollectorCollector to use if you want to effectively turn off a source.classPutCounterCounts the number of times put is called to pass on a metric.classSimpleStatsclassSimpleTimerMetricclassStringReporterclassTimeDeltaThis records the difference between now (computers local clock) and the timestamp provided.classTimestampCounterThis collector records a count of timestamps during a configurable amount of time. -
Uses of MetricCollector in org.kairosdb.metrics4j.internal
Classes in org.kairosdb.metrics4j.internal that implement MetricCollector Modifier and Type Class Description classDoubleLambdaCollectorAdaptorclassLongLambdaCollectorAdaptorMethods in org.kairosdb.metrics4j.internal that return MetricCollector Modifier and Type Method Description MetricCollectorCollectorCollection. getCollector(TagKey tagKey)MetricCollectorCollectorCollectionAdapter. getCollector(TagKey tagKey)MetricCollectorStaticCollectorCollection. getCollector(TagKey tagKey)This method is only called by SourceInvocationHandler but it would never call into a StaticCollectorCollection as they are not used for interface invoked metrics.MetricCollectorMetricsGatherer.AgedMetricCollector. getMetricCollector()Methods in org.kairosdb.metrics4j.internal with parameters of type MetricCollector Modifier and Type Method Description voidStaticCollectorCollection. addCollector(TagKey tagKey, MetricCollector collector)voidSourceInvocationHandler. setCollector(MethodArgKey key, MetricCollector statsObject)Used to override a collector for a given set of arguments.Constructors in org.kairosdb.metrics4j.internal with parameters of type MetricCollector Constructor Description AgedMetricCollector(MetricCollector metricCollector)CustomArgKey(MetricCollector collector)StatsContainer(MetricCollector statsObject, String klass, String method) -
Uses of MetricCollector in org.kairosdb.metrics4j.internal.adapters
Classes in org.kairosdb.metrics4j.internal.adapters that implement MetricCollector Modifier and Type Class Description classDoubleMethodCollectorAdapterclassDurationMethodCollectorAdapterclassLongMethodCollectorAdapterclassMethodCollectorAdapterclassStringMethodCollectorAdapter
-