Interface ChainedEventObserver

All Superinterfaces:
ChainedObserver
All Known Implementing Classes:
DefaultLatencyHistogramStatistic, EventRateSimpleMovingAverage, LatencyAccumulator, LatencyPeriodAccumulator, LatencySimpleMovingAverage, MaximumLatencyHistory

public interface ChainedEventObserver extends ChainedObserver
Event observers track the occurrence of singular events.

Events can have an associated parameter the use of which is left up to the implementors of both the producer and consumer of events.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    event(long time, long latency)
    Called to indicate an event happened.
  • Method Details

    • event

      void event(long time, long latency)
      Called to indicate an event happened.
      Parameters:
      time - the clock at event completion in ns
      latency - the event latency in ns