org.terracotta.statistics.observer
Interface ChainedEventObserver

All Superinterfaces:
ChainedObserver
All Known Implementing Classes:
EventParameterSimpleMovingAverage, EventRateSimpleMovingAverage, MinMaxAverage

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
 void event(long time, long... parameters)
          Called to indicate an event happened.
 

Method Detail

event

void event(long time,
           long... parameters)
Called to indicate an event happened.

Parameters:
parameter - the event parameter


Copyright © 2016. All Rights Reserved.