Class MethodCollectorAdapter
- java.lang.Object
-
- org.kairosdb.metrics4j.internal.adapters.MethodCollectorAdapter
-
- All Implemented Interfaces:
Serializable,MetricCollector
- Direct Known Subclasses:
DoubleMethodCollectorAdapter,DurationMethodCollectorAdapter,LongMethodCollectorAdapter,StringMethodCollectorAdapter
public abstract class MethodCollectorAdapter extends Object implements MetricCollector
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MethodCollectorAdapter(Object object, Method method, String fieldName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetContextProperties(Map<String,String> contextProperties)-
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.collectors.MetricCollector
reportMetric
-
-
-
-
Method Detail
-
setContextProperties
public void setContextProperties(Map<String,String> contextProperties)
- Specified by:
setContextPropertiesin interfaceMetricCollector
-
-