Class MetricRegisteringCallback
java.lang.Object
org.javasimon.CallbackSkeleton
org.nuxeo.runtime.management.metrics.MetricRegisteringCallback
- All Implemented Interfaces:
org.javasimon.Callback
public class MetricRegisteringCallback
extends org.javasimon.CallbackSkeleton
Callback that registers MXBeans for metrics after their creation.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.javasimon.Callback
org.javasimon.Callback.Event
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
protected final void
register
(org.javasimon.Simon simon) void
simonCreated
(org.javasimon.Simon simon) void
simonDestroyed
(org.javasimon.Simon simon) Methods inherited from class org.javasimon.CallbackSkeleton
addCallback, callbacks, cleanup, counterDecrease, counterIncrease, counterSet, initialize, message, removeCallback, reset, stopwatchAdd, stopwatchStart, stopwatchStop, warning
-
Constructor Details
-
MetricRegisteringCallback
-
-
Method Details
-
simonCreated
public void simonCreated(org.javasimon.Simon simon) - Specified by:
simonCreated
in interfaceorg.javasimon.Callback
- Overrides:
simonCreated
in classorg.javasimon.CallbackSkeleton
-
simonDestroyed
public void simonDestroyed(org.javasimon.Simon simon) - Specified by:
simonDestroyed
in interfaceorg.javasimon.Callback
- Overrides:
simonDestroyed
in classorg.javasimon.CallbackSkeleton
-
clear
public void clear()- Specified by:
clear
in interfaceorg.javasimon.Callback
- Overrides:
clear
in classorg.javasimon.CallbackSkeleton
-
register
protected final void register(org.javasimon.Simon simon)
-