wrench::PilotJob

class wrench::PilotJob : public wrench::Job

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

Public Types

enum State

Pilot job states.

Values:

enumerator NOT_SUBMITTED

Not submitted yet.

enumerator PENDING

Submitted but not running.

enumerator RUNNING

Running.

enumerator EXPIRED

Expired due to a time-to-live limit.

enumerator FAILED

Failed.

enumerator TERMINATED

Terminated by submitter.

Public Functions

std::shared_ptr<BareMetalComputeService> getComputeService()

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

Returns

a compute service

PilotJob::State getState()

Get the state of the pilot job.

Returns

the state