kieker.tools.logReplayer
Class FilesystemLogReplayer
java.lang.Object
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
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 . |
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
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
-
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
Copyright 2011 the Kieker Project, http://kieker.sourceforge.net>