Top Description Methods
org.terracotta.statistics.observer

public Interface ChainedEventObserver

extends ChainedObserver
Known Direct Implementers
org.terracotta.statistics.derived.EventParameterSimpleMovingAverage, org.terracotta.statistics.derived.EventRateSimpleMovingAverage, org.terracotta.statistics.derived.MinMaxAverage

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 time of the event
time
,
long...
the event parameters
parameters
)

Called to indicate an event happened.

Method Detail

eventback to summary
public void event(long time, long... parameters)

Called to indicate an event happened.

Parameters
time:long

the time of the event

parameters:long[]

the event parameters