Class MetricSerializingCallback
- java.lang.Object
-
- org.javasimon.CallbackSkeleton
-
- org.nuxeo.runtime.management.metrics.MetricSerializingCallback
-
- All Implemented Interfaces:
org.javasimon.Callback
public class MetricSerializingCallback extends org.javasimon.CallbackSkeleton
-
-
Field Summary
Fields Modifier and Type Field Description protected static Loglogprotected MetricSerializerserializer
-
Constructor Summary
Constructors Constructor Description MetricSerializingCallback(MetricSerializer serializer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcounterSet(org.javasimon.Counter counter, long val)voidstopwatchStop(org.javasimon.Split split)protected voidtoStream(org.javasimon.Sample sample)
-
-
-
Field Detail
-
log
protected static final Log log
-
serializer
protected final MetricSerializer serializer
-
-
Constructor Detail
-
MetricSerializingCallback
public MetricSerializingCallback(MetricSerializer serializer)
-
-
Method Detail
-
stopwatchStop
public void stopwatchStop(org.javasimon.Split split)
- Specified by:
stopwatchStopin interfaceorg.javasimon.Callback- Overrides:
stopwatchStopin classorg.javasimon.CallbackSkeleton
-
counterSet
public void counterSet(org.javasimon.Counter counter, long val)- Specified by:
counterSetin interfaceorg.javasimon.Callback- Overrides:
counterSetin classorg.javasimon.CallbackSkeleton
-
toStream
protected void toStream(org.javasimon.Sample sample)
-
-