public interface StatisticsEventSystem
event listeners and dispatching the
events.| Modifier and Type | Method and Description |
|---|---|
void |
addListener(StatisticsEventListener listener,
boolean replay)
Register a listener to receive future
events. |
void |
clearEventHistory()
Clears the event history.
|
Iterator<StatisticsEvent> |
pastEvents()
Provides read-only access to all the recorded events.
|
void |
removeListener(StatisticsEventListener listener)
Removes a listener so it will no longer receive any
events. |
void addListener(StatisticsEventListener listener, boolean replay)
events.replay - if true, past (recorded) events will be replayed on the
given listener.void removeListener(StatisticsEventListener listener)
events.Iterator<StatisticsEvent> pastEvents()
void clearEventHistory()
Copyright © 2014 JBoss, a division of Red Hat. All rights reserved.