|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jetty.monitor.jmx.NotifierGroup
public class NotifierGroup
NotifierGroup This class allows for grouping of the event notifiers
| Constructor Summary | |
|---|---|
NotifierGroup()
Create a notifier group |
|
| Method Summary | |
|---|---|
boolean |
addNotifier(EventNotifier notifier)
Add specified event notifier to event notifier group |
boolean |
addNotifiers(java.util.Collection<EventNotifier> notifiers)
Add a collection of event notifiers to event notifier group |
java.util.Collection<EventNotifier> |
getNotifiers()
Retrieve all event notifier associated with this group |
void |
notify(EventTrigger trigger,
EventState<?> state,
long timestamp)
Invoke the notify() method of each of the notifiers in group |
boolean |
removeNotifier(EventNotifier notifier)
Remove event notifier from event notifier group |
boolean |
removeNotifiers(java.util.Collection<EventNotifier> notifiers)
Remove a collection of event notifiers from event notifier group |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NotifierGroup()
| Method Detail |
|---|
public java.util.Collection<EventNotifier> getNotifiers()
public boolean addNotifier(EventNotifier notifier)
notifier - event notifier to be added
public boolean addNotifiers(java.util.Collection<EventNotifier> notifiers)
notifiers - collection of event notifiers to be added
public boolean removeNotifier(EventNotifier notifier)
notifier - event notifier to be removed
public boolean removeNotifiers(java.util.Collection<EventNotifier> notifiers)
notifiers - collection of event notifiers to be removed
public void notify(EventTrigger trigger,
EventState<?> state,
long timestamp)
notify in interface EventNotifierstate - an event statetimestamp - time stamp of the eventEventNotifier.notify(org.eclipse.jetty.monitor.jmx.EventTrigger, org.eclipse.jetty.monitor.jmx.EventState, long)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||