org.gridbus.broker.services.compute.simulation
Class SimJobWrapper

java.lang.Object
  extended by org.gridbus.broker.common.JobWrapper
      extended by org.gridbus.broker.services.compute.PosixJobWrapper
          extended by org.gridbus.broker.services.compute.simulation.SimJobWrapper

public class SimJobWrapper
extends PosixJobWrapper

Author:
krishna

Field Summary
 
Fields inherited from class org.gridbus.broker.services.compute.PosixJobWrapper
errorActionScript, errorCheckScript, errorCodeScript, errorScript, execErrMsgScript, execMsgScript, linkScript, mvScript, permScript, successScript
 
Fields inherited from class org.gridbus.broker.common.JobWrapper
AGENT_JAR, COMMIT_TIMEOUT, EOL, PROXY_FILE, QUOTE, SUBMISSION_TIMEOUT
 
Constructor Summary
SimJobWrapper()
           
 
Method Summary
protected  void commit(Job job)
           
protected  void execute(Job j)
           
protected  void execute(org.gridbus.scs.common.SCSJob j)
           
 int getSimJobStatus()
           
protected  void stageIn(Job j)
           
protected  void stageOut(Job j)
           
protected  void stageOut(org.gridbus.scs.common.SCSJob j)
           
 void terminate(Job job)
           
 
Methods inherited from class org.gridbus.broker.services.compute.PosixJobWrapper
cleanUp, generateGlobusCopyScript, generateSGetScript, generateSPutScript, getAgentInitScript, getCleanUpScript, getEnvScript, getInitScript, getLocalShellFilename, getShellFilename, wrapSshToHeadNode
 
Methods inherited from class org.gridbus.broker.common.JobWrapper
executeJob, executeJob, getFileOnStagingServer, getUniqueId, jobNeedsRemoteData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimJobWrapper

public SimJobWrapper()
Method Detail

execute

protected void execute(Job j)
Specified by:
execute in class JobWrapper
See Also:
org.gridbus.broker.farming.common.JobWrapper#execute(org.gridbus.broker.farming.common.Job)

execute

protected void execute(org.gridbus.scs.common.SCSJob j)
Specified by:
execute in class JobWrapper
See Also:
org.gridbus.broker.farming.common.JobWrapper#execute(org.gridbus.broker.farming.common.Job)

getSimJobStatus

public int getSimJobStatus()

terminate

public void terminate(Job job)
Specified by:
terminate in class JobWrapper
See Also:
org.gridbus.broker.farming.common.JobWrapper#terminate()

stageIn

protected void stageIn(Job j)
Specified by:
stageIn in class JobWrapper

stageOut

protected void stageOut(Job j)
Specified by:
stageOut in class JobWrapper

stageOut

protected void stageOut(org.gridbus.scs.common.SCSJob j)
Specified by:
stageOut in class JobWrapper

commit

protected void commit(Job job)
               throws JobCommitException
Specified by:
commit in class JobWrapper
Throws:
JobCommitException

Copyright © The University of Melbourne. 2006