All the job data (job input files) is stored within the queue directory, the output files are redirected to dummy files, the target host is always the replaying host. Therefore the queue directory can be copied to an arbitrary host and will play back.
The record() method recording jobs is called from the InvokerManager whenever a job is invoked on a host having the
sfirecorderdirattribute set. The replay() method is called by the cli.replay class.
Public Member Functions | |
| Recorder (String directory) throws DirectorException | |
| void | record (RemoteJob job) throws DirectorException |
| synchronized void | record (DBObject jobdbo) throws DirectorException |
| void | replay () throws DirectorException |
Protected Member Functions | |
| String | getBaseName () |
| void | incrementSeq () throws DirectorException |
| String | infile (String url) throws DirectorException |
| void | executeJob (String jobfile) throws DirectorException, IOException |
Package Attributes | |
| String | queuedir |
| Hashtable | fileTranslations |
| int | seq = 0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.5