wrench::ComputeServicePilotJobFailedMessage

class wrench::ComputeServicePilotJobFailedMessage : public wrench::ComputeServiceMessage

A message sent by a ComputeService when a PilotJob has failed.

Public Functions

ComputeServicePilotJobFailedMessage(std::shared_ptr<PilotJob>, std::shared_ptr<ComputeService>, std::shared_ptr<FailureCause> cause, double payload)

Constructor.

Parameters
  • job – a pilot job that has failed

  • cs – the compute service on which the pilot job has failed

  • cause – the failure cause

  • payload – message size in bytes

Throws

std::invalid_argument

Public Members

std::shared_ptr<FailureCause> cause

The failure cause.

std::shared_ptr<ComputeService> compute_service

The compute service on which the pilot job failed.

std::shared_ptr<PilotJob> job

The pilot job that has failed.