org.eclipse.jetty.monitor.jmx
public class NotifierGroup extends java.lang.Object implements EventNotifier
| Constructor and Description |
|---|
NotifierGroup()
Create a notifier group
|
| Modifier and Type | Method and Description |
|---|---|
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
|
public java.util.Collection<EventNotifier> getNotifiers()
public boolean addNotifier(EventNotifier notifier)
notifier - event notifier to be addedpublic boolean addNotifiers(java.util.Collection<EventNotifier> notifiers)
notifiers - collection of event notifiers to be addedpublic boolean removeNotifier(EventNotifier notifier)
notifier - event notifier to be removedpublic boolean removeNotifiers(java.util.Collection<EventNotifier> notifiers)
notifiers - collection of event notifiers to be removedpublic 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)Copyright © 2017. All Rights Reserved.