Kieker 1.2

kieker.tools.logReplayer
Class FSReaderRealtime

java.lang.Object
  extended by kieker.analysis.reader.AbstractMonitoringLogReader
      extended by kieker.tools.logReplayer.FSReaderRealtime
All Implemented Interfaces:
IMonitoringLogReader

public class FSReaderRealtime
extends AbstractMonitoringLogReader

Author:
Andre van Hoorn

Constructor Summary
FSReaderRealtime()
          Constructor for FSReaderRealtime.
FSReaderRealtime(String[] inputDirNames, int numWorkers)
           
 
Method Summary
 void init(String initString)
          Valid key/value pair: inputDirNames=INPUTDIRECTORY1;...
 boolean read()
          Replays the monitoring log in real-time and returns after the complete log was being replayed.
 
Methods inherited from class kieker.analysis.reader.AbstractMonitoringLogReader
addRecordReceiver
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FSReaderRealtime

public FSReaderRealtime()
Constructor for FSReaderRealtime. Requires a subsequent call to the init method in order to specify the input directory and number of workers using the parameter @a inputDirName.


FSReaderRealtime

public FSReaderRealtime(String[] inputDirNames,
                        int numWorkers)
Method Detail

init

public void init(String initString)
          throws IllegalArgumentException
Valid key/value pair: inputDirNames=INPUTDIRECTORY1;...;INPUTDIRECTORYN | numWorkers=XX

Parameters:
initString - the initialization string
Throws:
IllegalArgumentException - if an error occured

read

public boolean read()
             throws MonitoringLogReaderException
Replays the monitoring log in real-time and returns after the complete log was being replayed.

Returns:
true iff reading was successful
Throws:
MonitoringLogReaderException

Kieker 1.2

Copyright 2010 the Kieker Project, http://kieker.sourceforge.net