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

    Fields
    Modifier and Type
    Field
    Description
    protected final MetricSerializer
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    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)
     

    Methods inherited from class org.javasimon.CallbackSkeleton

    addCallback, callbacks, cleanup, clear, counterDecrease, counterIncrease, initialize, message, removeCallback, reset, simonCreated, simonDestroyed, stopwatchAdd, stopwatchStart, warning

    Methods inherited from class java.lang.Object

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

  • Constructor Details

    • MetricSerializingCallback

      public MetricSerializingCallback(MetricSerializer serializer)
  • Method Details

    • stopwatchStop

      public void stopwatchStop(org.javasimon.Split split)
      Specified by:
      stopwatchStop in interface org.javasimon.Callback
      Overrides:
      stopwatchStop in class org.javasimon.CallbackSkeleton
    • counterSet

      public void counterSet(org.javasimon.Counter counter, long val)
      Specified by:
      counterSet in interface org.javasimon.Callback
      Overrides:
      counterSet in class org.javasimon.CallbackSkeleton
    • toStream

      protected void toStream(org.javasimon.Sample sample)