Interface ChainedEventObserver
- All Superinterfaces:
ChainedObserver
- All Known Implementing Classes:
DefaultLatencyHistogramStatistic,EventRateSimpleMovingAverage,LatencyAccumulator,LatencyPeriodAccumulator,LatencySimpleMovingAverage,MaximumLatencyHistory
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 TypeMethodDescriptionvoidevent(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 nslatency- the event latency in ns
-