|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.echarts.monitor.NullMonitor
public final class NullMonitor
Class that serves as a dummy user monitor when user hasn't explicitly set the monitor for an FSM (via the setMonitor() method). This class implements the putEvent() method and simply throws away events.
Field Summary | |
---|---|
static NullMonitor |
NULL_MONITOR
|
Constructor Summary | |
---|---|
NullMonitor()
|
Method Summary | |
---|---|
MachineMonitorEventFilter |
getEventFilter()
|
void |
putEvent(MachineMonitorEvent event)
|
void |
setEventFilter(MachineMonitorEventFilter filter)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final NullMonitor NULL_MONITOR
Constructor Detail |
---|
public NullMonitor()
Method Detail |
---|
public final void putEvent(MachineMonitorEvent event)
putEvent
in interface MachineMonitor
public final void setEventFilter(MachineMonitorEventFilter filter)
setEventFilter
in interface MachineMonitor
public final MachineMonitorEventFilter getEventFilter()
getEventFilter
in interface MachineMonitor
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |