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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MetricRegisteringCallback

      public MetricRegisteringCallback(MetricRegister register)
  • Method Details

    • simonCreated

      public void simonCreated(org.javasimon.Simon simon)
      Specified by:
      simonCreated in interface org.javasimon.Callback
      Overrides:
      simonCreated in class org.javasimon.CallbackSkeleton
    • simonDestroyed

      public void simonDestroyed(org.javasimon.Simon simon)
      Specified by:
      simonDestroyed in interface org.javasimon.Callback
      Overrides:
      simonDestroyed in class org.javasimon.CallbackSkeleton
    • clear

      public void clear()
      Specified by:
      clear in interface org.javasimon.Callback
      Overrides:
      clear in class org.javasimon.CallbackSkeleton
    • register

      protected final void register(org.javasimon.Simon simon)