org.eclipse.jetty.monitor.jmx
public class LoggingNotifier extends java.lang.Object implements EventNotifier
| Constructor and Description |
|---|
LoggingNotifier(java.lang.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 LoggingNotifier(java.lang.String format)
throws java.lang.IllegalArgumentException
format - the format stringjava.lang.IllegalArgumentExceptionpublic 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 © 2017. All Rights Reserved.