edu.isi.pegasus.planner.code.generator
Class HashedFile
java.lang.Object
edu.isi.pegasus.planner.code.generator.Abstract
edu.isi.pegasus.planner.code.generator.condor.CondorGenerator
edu.isi.pegasus.planner.code.generator.HashedFile
- All Implemented Interfaces:
- CodeGenerator
public class HashedFile
- extends CondorGenerator
A Condor Submit Writer, that understands the notion of hashed file directories.
- Version:
- $Revision: 2590 $
- Author:
- Karan Vahi
| Fields inherited from class edu.isi.pegasus.planner.code.generator.condor.CondorGenerator |
CONDOR_DAGMAN_LOGICAL_NAME, CONDOR_DAGMAN_NAMESPACE, DAGMAN_PROPERTIES_PREFIX, DEFAULT_CHMOD_PRIORITY_KEY, DEFAULT_CLEANUP_PRIORITY_KEY, DEFAULT_CREATE_DIR_PRIORITY_KEY, DEFAULT_INTER_SITE_PRIORITY_KEY, DEFAULT_REPLICA_REG_PRIORITY_KEY, DEFAULT_STAGE_IN_PRIORITY_KEY, DEFAULT_STAGE_OUT_PRIORITY_KEY, DEFAULT_SUBDAG_CATEGORY_KEY, mConcreteWorkflow, mDagWriter, mDone, mGridStartFactory, mInitializeGridStart, mPoolClass, mSeparator, mStyleFactory, mTCHandle, mTempLogFile |
|
Constructor Summary |
HashedFile()
The default constructor. |
|
Method Summary |
PrintWriter |
getWriter(Job job)
Returns an open stream to the file that is used for writing out the
job information for the job. |
| Methods inherited from class edu.isi.pegasus.planner.code.generator.condor.CondorGenerator |
applyStyle, concreteDagEmpty, constructDAGJob, generateCode, generateCode, generateLogFileSymlink, getAdditionalBraindumpEntries, getBasename, getCategoryDAGManKnobs, getCondorLogInSubmitDirectory, getCondorLogInSubmitDirectory, getCondorLogInTmpDirectory, getDAGMANOutFilename, getJobPriority, getNaturalNumberValue, handleCondorVarForJob, handleEnvVarForJob, handleGlobusRSLForJob, initialize, initializeDagFileWriter, populatePeriodicReleaseAndRemoveInJob, printDagString, reset, startMonitoring, writeDagFileTail, writeDOTFile, writeJobMapFile |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HashedFile
public HashedFile()
- The default constructor.
getWriter
public PrintWriter getWriter(Job job)
throws IOException
- Returns an open stream to the file that is used for writing out the
job information for the job.
- Overrides:
getWriter in class Abstract
- Parameters:
job - the job whose job information needs to be written.
- Returns:
- the writer to the open file.
- Throws:
IOException - if unable to open a write handle to the file.
Copyright © 2011 The University of Southern California. All Rights Reserved.