org.gridbus.broker.farming.fork
Class ForkJobWrapper

java.lang.Object
  extended by org.gridbus.broker.farming.common.JobWrapper
      extended by org.gridbus.broker.farming.fork.ForkJobWrapper

public class ForkJobWrapper
extends JobWrapper

This class interacts with the local host. It creates the script for the job and submits it locally.

Author:
Tianchi Ma (tcma@cs.mu.oz.au)
See Also:
JobWrapper

Constructor Summary
ForkJobWrapper(java.lang.Object o)
           
 
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 org.gridbus.broker.farming.common.JobWrapper
executeJob, getConfig, getLocalWorkingDir
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ForkJobWrapper

public ForkJobWrapper(java.lang.Object o)
Parameters:
o -
Method Detail

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()