Arc::SubmitterPlugin Class Reference

Base class for the SubmitterPlugins. More...

#include <SubmitterPlugin.h>

Inheritance diagram for Arc::SubmitterPlugin:
Arc::Plugin

Public Member Functions

virtual bool Submit (const std::list< JobDescription > &jobdesc, const ExecutionTarget &et, EntityConsumer< Job > &jc, std::list< const JobDescription * > &notSubmitted)=0
virtual bool Migrate (const URL &jobid, const JobDescription &jobdesc, const ExecutionTarget &et, bool forcemigration, Job &job)

Detailed Description

Base class for the SubmitterPlugins.

SubmitterPlugin is the base class for Grid middleware specialized SubmitterPlugin objects. The class submits job(s) to the computing resource it represents and uploads (needed by the job) local input files.


Member Function Documentation

virtual bool Arc::SubmitterPlugin::Migrate ( const URL jobid,
const JobDescription jobdesc,
const ExecutionTarget et,
bool  forcemigration,
Job job 
) [virtual]

Migrate job.

This virtual method should be overridden by plugins which should be capable of migrating jobs. The active job which should be migrated is pointed to by the URL jobid, and is represented by the JobDescription jobdesc. The forcemigration boolean specifies if the migration should succeed if the active job cannot be terminated. The protected method AddJob can be used to save job information. This method should return the URL of the migrated job. In case migration fails an empty URL should be returned.

virtual bool Arc::SubmitterPlugin::Submit ( const std::list< JobDescription > &  jobdesc,
const ExecutionTarget et,
EntityConsumer< Job > &  jc,
std::list< const JobDescription * > &  notSubmitted 
) [pure virtual]

Submit job.

This virtual method should be overridden by plugins which should be capable of submitting jobs, defined in the JobDescription jobdesc, to the ExecutionTarget et. The protected convenience method AddJob can be used to save job information. This method should return the URL of the submitted job. In case submission fails an empty URL should be returned.


The documentation for this class was generated from the following file:
Generated on Wed Jun 27 11:54:19 2012 for Hosting Environment (Daemon) by  doxygen 1.6.3