Kieker 1.3

kieker.tools.logReplayer
Class FilesystemLogReplayer

java.lang.Object
  extended by kieker.tools.logReplayer.FilesystemLogReplayer

public class FilesystemLogReplayer
extends Object

Replays a filesystem monitoring log and simply passes each record to a specified IMonitoringRecordReceiver. The FilesystemLogReplayer can replay monitoring logs in real-time.

Author:
Andre van Hoorn

Field Summary
static long MAX_TIMESTAMP
           
static long MIN_TIMESTAMP
           
 
Constructor Summary
FilesystemLogReplayer(IMonitoringRecordReceiver monitoringController, String[] inputDirs)
          Normal replay mode (i.e., non-real-time).
FilesystemLogReplayer(IMonitoringRecordReceiver monitoringController, String[] inputDirs, boolean realtimeMode, int numRealtimeWorkerThreads)
           
FilesystemLogReplayer(IMonitoringRecordReceiver monitoringController, String[] inputDirs, boolean realtimeMode, int numRealtimeWorkerThreads, long ignoreRecordsBeforeTimestamp, long ignoreRecordsAfterTimestamp)
           
 
Method Summary
 boolean replay()
          Replays the monitoring log terminates after the last record was passed to the configured IMonitoringRecordReceiver.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAX_TIMESTAMP

public static final long MAX_TIMESTAMP
See Also:
Constant Field Values

MIN_TIMESTAMP

public static final long MIN_TIMESTAMP
See Also:
Constant Field Values
Constructor Detail

FilesystemLogReplayer

public FilesystemLogReplayer(IMonitoringRecordReceiver monitoringController,
                             String[] inputDirs)
Normal replay mode (i.e., non-real-time).


FilesystemLogReplayer

public FilesystemLogReplayer(IMonitoringRecordReceiver monitoringController,
                             String[] inputDirs,
                             boolean realtimeMode,
                             int numRealtimeWorkerThreads)
Parameters:
monitoringController -
inputDirs -
realtimeMode -
numRealtimeWorkerThreads -

FilesystemLogReplayer

public FilesystemLogReplayer(IMonitoringRecordReceiver monitoringController,
                             String[] inputDirs,
                             boolean realtimeMode,
                             int numRealtimeWorkerThreads,
                             long ignoreRecordsBeforeTimestamp,
                             long ignoreRecordsAfterTimestamp)
Parameters:
monitoringController -
inputDirs -
realtimeMode -
numRealtimeWorkerThreads -
ignoreRecordsBeforeTimestamp -
ignoreRecordsAfterTimestamp -
Method Detail

replay

public boolean replay()
Replays the monitoring log terminates after the last record was passed to the configured IMonitoringRecordReceiver.

Returns:
true on success; false otherwise

Kieker 1.3

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