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.
-
-
Constructor Summary
Constructors Constructor Description MetricRegisteringCallback(MetricRegister register)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
protected void
register(org.javasimon.Simon simon)
void
simonCreated(org.javasimon.Simon simon)
void
simonDestroyed(org.javasimon.Simon simon)
-
-
-
Constructor Detail
-
MetricRegisteringCallback
public MetricRegisteringCallback(MetricRegister register)
-
-
Method Detail
-
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)
-
-