Top Description Methods
org.terracotta.statistics.observer

public Interface ChainedEventObserver

extends ChainedObserver
Known Direct Implementers
org.terracotta.statistics.derived.EventRateSimpleMovingAverage, org.terracotta.statistics.derived.latency.DefaultLatencyHistogramStatistic, org.terracotta.statistics.derived.latency.LatencyAccumulator, org.terracotta.statistics.derived.latency.LatencyPeriodAccumulator, org.terracotta.statistics.derived.latency.LatencySimpleMovingAverage, org.terracotta.statistics.derived.latency.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 TypeMethod and Description
public void
event(long
the clock at event completion in ns
time
,
long
the event latency in ns
latency
)

Called to indicate an event happened.

Method Detail

eventback to summary
public void event(long time, long latency)

Called to indicate an event happened.

Parameters
time:long

the clock at event completion in ns

latency:long

the event latency in ns