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 Log
log
protected MetricSerializer
serializer
-
Constructor Summary
Constructors Constructor Description MetricSerializingCallback(MetricSerializer serializer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
counterSet(org.javasimon.Counter counter, long val)
void
stopwatchStop(org.javasimon.Split split)
protected void
toStream(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:
stopwatchStop
in interfaceorg.javasimon.Callback
- Overrides:
stopwatchStop
in classorg.javasimon.CallbackSkeleton
-
counterSet
public void counterSet(org.javasimon.Counter counter, long val)
- Specified by:
counterSet
in interfaceorg.javasimon.Callback
- Overrides:
counterSet
in classorg.javasimon.CallbackSkeleton
-
toStream
protected void toStream(org.javasimon.Sample sample)
-
-