org.eclipse.jetty.monitor.jmx
Class ConsoleNotifier

java.lang.Object
  extended by org.eclipse.jetty.monitor.jmx.ConsoleNotifier
All Implemented Interfaces:
EventNotifier

public class ConsoleNotifier
extends Object
implements EventNotifier

ConsoleNotifier Provides a way to output notification messages to the server console


Constructor Summary
ConsoleNotifier(String format)
          Constructs a new notifier with specified format string
 
Method Summary
 void notify(EventTrigger trigger, EventState<?> state, long timestamp)
          This method is called when a notification event is received by the containing object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConsoleNotifier

public ConsoleNotifier(String format)
                throws IllegalArgumentException
Constructs a new notifier with specified format string

Parameters:
format - the format string
Throws:
IllegalArgumentException
Method Detail

notify

public void notify(EventTrigger trigger,
                   EventState<?> state,
                   long timestamp)
Description copied from interface: EventNotifier
This method is called when a notification event is received by the containing object

Specified by:
notify in interface EventNotifier
state - an event state
timestamp - time stamp of the event
See Also:
EventNotifier.notify(org.eclipse.jetty.monitor.jmx.EventTrigger, org.eclipse.jetty.monitor.jmx.EventState, long)


Copyright © 1995-2012 Mort Bay Consulting. All Rights Reserved.