org.gridbus.broker.common
Class JobWrapper
java.lang.Object
org.gridbus.broker.common.JobWrapper
- Direct Known Subclasses:
- PosixJobWrapper, WindowsJobWrapper
public abstract class JobWrapper
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AGENT_JAR
protected static final java.lang.String AGENT_JAR
- See Also:
- Constant Field Values
PROXY_FILE
protected static final java.lang.String PROXY_FILE
- See Also:
- Constant Field Values
EOL
protected static final java.lang.String EOL
- See Also:
- Constant Field Values
QUOTE
protected static final java.lang.String QUOTE
- See Also:
- Constant Field Values
SUBMISSION_TIMEOUT
protected static final int SUBMISSION_TIMEOUT
- See Also:
- Constant Field Values
COMMIT_TIMEOUT
protected static final int COMMIT_TIMEOUT
- See Also:
- Constant Field Values
JobWrapper
public JobWrapper()
jobNeedsRemoteData
protected static final boolean jobNeedsRemoteData(Job job)
getUniqueId
protected static final java.lang.String getUniqueId(Job job)
getFileOnStagingServer
protected static final java.lang.String getFileOnStagingServer(java.lang.String fileStagingUrl,
java.lang.String file,
java.lang.String uniqueId)
stageIn
protected abstract void stageIn(Job job)
throws java.lang.Exception
- Throws:
java.lang.Exception
stageOut
protected abstract void stageOut(Job job)
throws java.lang.Exception
- Throws:
java.lang.Exception
stageOut
protected abstract void stageOut(org.gridbus.scs.common.SCSJob job)
throws java.lang.Exception
- Throws:
java.lang.Exception
execute
protected abstract void execute(Job job)
throws java.lang.Exception
- Throws:
java.lang.Exception
execute
protected abstract void execute(org.gridbus.scs.common.SCSJob job)
throws java.lang.Exception
- Throws:
java.lang.Exception
commit
protected abstract void commit(Job job)
throws JobCommitException
- Throws:
JobCommitException
cleanUp
protected abstract void cleanUp(Job job)
throws java.lang.Exception
- Throws:
java.lang.Exception
executeJob
protected final void executeJob(Job job)
throws JobSubmissionFailedException
- Throws:
JobSubmissionFailedException
executeJob
protected final void executeJob(org.gridbus.scs.common.SCSJob job)
throws JobSubmissionFailedException
- Throws:
JobSubmissionFailedException
terminate
protected abstract void terminate(Job job)
throws java.lang.Exception
- Throws:
java.lang.Exception