wrench::ExecutionEvent
-
class ExecutionEvent
A class to represent the various execution events that are relevant to the execution of a workflow.
Subclassed by wrench::CompoundJobCompletedEvent, wrench::CompoundJobFailedEvent, wrench::FileCopyCompletedEvent, wrench::FileCopyFailedEvent, wrench::PilotJobExpiredEvent, wrench::PilotJobStartedEvent, wrench::StandardJobCompletedEvent, wrench::StandardJobFailedEvent, wrench::TimerEvent
Public Functions
-
inline virtual std::string toString()
Get a textual description of the event.
- Returns
a text string
Public Static Functions
-
static std::shared_ptr<ExecutionEvent> waitForNextExecutionEvent(simgrid::s4u::Mailbox *mailbox)
Block the calling process until a ExecutionEvent is generated based on messages received on a mailbox.
- Parameters
mailbox – the name of the receiving mailbox
- Throws
std::runtime_error –
- Returns
a workflow execution event
-
static std::shared_ptr<ExecutionEvent> waitForNextExecutionEvent(simgrid::s4u::Mailbox *mailbox, double timeout)
Block the calling process until a ExecutionEvent is generated based on messages received on a mailbox, or until a timeout ooccurs.
- Parameters
mailbox – the name of the receiving mailbox
timeout – a timeout value in seconds (-1 means: no timeout)
- Throws
std::runtime_error –
- Returns
a workflow execution event (or nullptr in case of a timeout)
-
inline virtual std::string toString()