org.gridbus.broker.farming.sge
Class SGEJobWrapper
java.lang.Object
org.gridbus.broker.farming.common.JobWrapper
org.gridbus.broker.farming.sge.SGEJobWrapper
public class SGEJobWrapper
- extends JobWrapper
This class interacts with SGE server.
It creates the script for the job and submits it to the SGE server.
- Author:
- Tianchi Ma (tcma@cs.mu.oz.au)
- See Also:
JobWrapper
Method Summary |
void |
addStageBack(java.lang.String source,
java.lang.String dest)
The list for output files to be staged back by the compute server |
int |
getStageStatus()
|
void |
stageBack(Job job)
|
void |
terminate()
This method terminates the process running on the remote host and initiates cleanup if required |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SGEJobWrapper
public SGEJobWrapper()
- Constructor
SGEJobWrapper
public SGEJobWrapper(java.lang.Object o)
- Parameters:
o
-
addStageBack
public void addStageBack(java.lang.String source,
java.lang.String dest)
- The list for output files to be staged back by the compute server
- Parameters:
source
- dest
-
stageBack
public void stageBack(Job job)
- Parameters:
job
-
getStageStatus
public int getStageStatus()
- Returns:
terminate
public void terminate()
- Description copied from class:
JobWrapper
- This method terminates the process running on the remote host and initiates cleanup if required
- Specified by:
terminate
in class JobWrapper
- See Also:
JobWrapper.terminate()