org.echarts.monitor
Class RawMonitor
java.lang.Object
org.echarts.monitor.RawMonitor
- All Implemented Interfaces:
- MachineMonitor
public class RawMonitor
- extends java.lang.Object
- implements MachineMonitor
Writes 'raw' event stream to specified file. See
MachineMonitorEvent for details concerning 'raw' events.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RawMonitor
public RawMonitor(java.lang.String logFilePath,
MachineMonitorEventFilter filter)
throws java.io.IOException
- Throws:
java.io.IOException
RawMonitor
public RawMonitor(java.lang.String logFilePath)
throws java.io.IOException
- Throws:
java.io.IOException
putEvent
public void putEvent(MachineMonitorEvent event)
throws java.io.IOException
- Specified by:
putEvent
in interface MachineMonitor
- Throws:
java.io.IOException
setEventFilter
public void setEventFilter(MachineMonitorEventFilter filter)
- Specified by:
setEventFilter
in interface MachineMonitor
getEventFilter
public MachineMonitorEventFilter getEventFilter()
- Specified by:
getEventFilter
in interface MachineMonitor