public class ConsoleNotifier extends Object implements EventNotifier
| Constructor and Description |
|---|
ConsoleNotifier(String format)
Constructs a new notifier with specified format string
|
| Modifier and Type | Method and Description |
|---|---|
void |
notify(EventTrigger trigger,
EventState<?> state,
long timestamp)
This method is called when a notification event is received by the containing object
|
public ConsoleNotifier(String format) throws IllegalArgumentException
format - the format stringIllegalArgumentExceptionpublic void notify(EventTrigger trigger, EventState<?> state, long timestamp)
EventNotifiernotify 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 © 1995-2015 Webtide. All Rights Reserved.