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
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.javasimon.Callback
org.javasimon.Callback.Event
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
counterSet
(org.javasimon.Counter counter, long val) void
stopwatchStop
(org.javasimon.Split split) protected void
toStream
(org.javasimon.Sample sample) Methods inherited from class org.javasimon.CallbackSkeleton
addCallback, callbacks, cleanup, clear, counterDecrease, counterIncrease, initialize, message, removeCallback, reset, simonCreated, simonDestroyed, stopwatchAdd, stopwatchStart, warning
-
Field Details
-
serializer
-
-
Constructor Details
-
MetricSerializingCallback
-
-
Method Details
-
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)
-