org.echarts.monitor
Class RawMonitor

java.lang.Object
  extended by 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.


Field Summary
 
Fields inherited from interface org.echarts.monitor.MachineMonitor
rcsid
 
Constructor Summary
RawMonitor(java.lang.String logFilePath)
           
RawMonitor(java.lang.String logFilePath, MachineMonitorEventFilter filter)
           
 
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
 

Constructor Detail

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
Method Detail

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