wrench::PilotJob Class Reference

A pilot (i.e., non-standard) workflow job that can be submitted to a ComputeService by a WMS (via a JobManager) More...

#include <PilotJob.h>

Inheritance diagram for wrench::PilotJob:
wrench::WorkflowJob

Public Types

enum  State {
  NOT_SUBMITTED, PENDING, RUNNING, EXPIRED,
  FAILED, TERMINATED
}
 Pilot job states. More...
 
- Public Types inherited from wrench::WorkflowJob
enum  Type { STANDARD, PILOT }
 Job types. More...
 

Public Member Functions

std::shared_ptr< ComputeServicegetComputeService ()
 Get the compute service provided by the (running) pilot job. More...
 
unsigned long getPriority ()
 Get the pilot job priority value. More...
 
PilotJob::State getState ()
 Get the state of the pilot job. More...
 
- Public Member Functions inherited from wrench::WorkflowJob
std::string getName ()
 Get the job's name. More...
 
double getSubmitDate ()
 Get the date at which the job was last submitted (<0 means "never submitted") More...
 
Type getType ()
 Get the job type. More...
 
std::string getTypeAsString ()
 Get the job type name. More...
 

Detailed Description

A pilot (i.e., non-standard) workflow job that can be submitted to a ComputeService by a WMS (via a JobManager)

Member Enumeration Documentation

◆ State

Pilot job states.

Enumerator
NOT_SUBMITTED 

Not submitted yet.

PENDING 

Submitted but not running.

RUNNING 

Running.

EXPIRED 

Expired due to a time-to-live limit.

FAILED 

Failed.

TERMINATED 

Terminated by submitter.

Member Function Documentation

◆ getComputeService()

std::shared_ptr< ComputeService > wrench::PilotJob::getComputeService ( )

Get the compute service provided by the (running) pilot job.

Returns
a compute service

◆ getPriority()

unsigned long wrench::PilotJob::getPriority ( )

Get the pilot job priority value.

Returns
the pilot job priority value

◆ getState()

PilotJob::State wrench::PilotJob::getState ( )

Get the state of the pilot job.

Returns
the state

The documentation for this class was generated from the following files: