11 #ifndef WRENCH_COMPUTESERVICEMESSAGE_H
12 #define WRENCH_COMPUTESERVICEMESSAGE_H
16 #include "wrench/failure_causes/FailureCause.h"
17 #include "wrench/services/ServiceMessage.h"
140 std::shared_ptr<CompoundJob>
job,
147 std::shared_ptr<CompoundJob>
job;
161 std::shared_ptr<CompoundJob>
job;
178 std::shared_ptr<CompoundJob>
job;
192 std::shared_ptr<CompoundJob>
job;
207 std::shared_ptr<CompoundJob>
job;
219 std::shared_ptr<CompoundJob>
job;
273 std::shared_ptr<PilotJob>
job;
286 std::shared_ptr<PilotJob>
job;
297 std::shared_ptr<ComputeService>,
298 std::shared_ptr<FailureCause>
cause,
302 std::shared_ptr<PilotJob>
job;
306 std::shared_ptr<FailureCause>
cause;
319 std::shared_ptr<PilotJob>
job;
332 std::shared_ptr<PilotJob>
job;
364 std::map<std::string, double>
info;
401 #endif //WRENCH_COMPUTESERVICEMESSAGE_H
A message sent by a ComputeService in answer to a CompoundJob termination request.
Definition: ComputeServiceMessage.h:213
std::shared_ptr< ComputeService > compute_service
The compute service to which the job had been submitted.
Definition: ComputeServiceMessage.h:221
std::shared_ptr< CompoundJob > job
The submitted job.
Definition: ComputeServiceMessage.h:147
ComputeServiceIsThereAtLeastOneHostWithAvailableResourcesAnswerMessage(bool answer, double payload)
Constructor.
Definition: ComputeServiceMessage.cpp:392
std::shared_ptr< CompoundJob > job
The standard job that was submitted.
Definition: ComputeServiceMessage.h:161
std::shared_ptr< ComputeService > compute_service
The compute service on which the job has failed.
Definition: ComputeServiceMessage.h:194
A message sent to a ComputeService to submit a CompoundJob for execution.
Definition: ComputeServiceMessage.h:137
std::shared_ptr< PilotJob > job
The job to terminate.
Definition: ComputeServiceMessage.h:332
Top-level class for messages received/sent by a ComputeService.
Definition: ComputeServiceMessage.h:32
A message sent by a ComputeService in answer to a "does at least one host have these available resour...
Definition: ComputeServiceMessage.h:387
std::shared_ptr< FailureCause > failure_cause
The cause of the failure, or nullptr on success.
Definition: ComputeServiceMessage.h:338
std::shared_ptr< PilotJob > job
The pilot job that has failed.
Definition: ComputeServiceMessage.h:302
unsigned long num_cores
The number of cores desired.
Definition: ComputeServiceMessage.h:379
A message sent by a ComputeService when a CompoundJob has failed to execute.
Definition: ComputeServiceMessage.h:186
simgrid::s4u::Mailbox * answer_mailbox
The mailbox to which a reply should be sent.
Definition: ComputeServiceMessage.h:377
std::shared_ptr< ComputeService > compute_service
The compute service on which the pilot job failed.
Definition: ComputeServiceMessage.h:304
ComputeServiceMessage(double payload)
Constructor.
Definition: ComputeServiceMessage.cpp:22
A message sent by a ComputeService when a PilotJob has started its execution.
Definition: ComputeServiceMessage.h:268
std::shared_ptr< ComputeService > compute_service
The compute service on which the pilot job has started.
Definition: ComputeServiceMessage.h:275
bool success
Whether to job termination was successful.
Definition: ComputeServiceMessage.h:336
Top-level class for messages received/sent by a Service.
Definition: ServiceMessage.h:27
simgrid::s4u::Mailbox * answer_mailbox
The mailbox to which the answer message should be sent.
Definition: ComputeServiceMessage.h:205
ComputeServiceTerminateCompoundJobRequestMessage(simgrid::s4u::Mailbox *answer_mailbox, std::shared_ptr< CompoundJob >, double payload)
Constructor.
Definition: ComputeServiceMessage.cpp:124
A message sent by a ComputeService when a PilotJob has expired.
Definition: ComputeServiceMessage.h:281
std::shared_ptr< PilotJob > job
The pilot job that has expired.
Definition: ComputeServiceMessage.h:286
ComputeServiceIsThereAtLeastOneHostWithAvailableResourcesRequestMessage(simgrid::s4u::Mailbox *answer_mailbox, unsigned long num_cores, double ram, double payload)
Constructor.
Definition: ComputeServiceMessage.cpp:371
double ram
The RAM desired.
Definition: ComputeServiceMessage.h:381
Definition: Action.cpp:28
std::shared_ptr< ComputeService > compute_service
The compute service to which the job was submitted.
Definition: ComputeServiceMessage.h:163
std::shared_ptr< CompoundJob > job
The job to terminate.
Definition: ComputeServiceMessage.h:207
A message sent by a ComputeService when a PilotJob has failed.
Definition: ComputeServiceMessage.h:294
std::shared_ptr< PilotJob > job
The job to terminate.
Definition: ComputeServiceMessage.h:319
simgrid::s4u::Mailbox * answer_mailbox
The mailbox to which the answer message should be sent.
Definition: ComputeServiceMessage.h:317
A message sent by a ComputeService in answer to a CompoundJob submission request.
Definition: ComputeServiceMessage.h:155
bool answer
The true/false answer.
Definition: ComputeServiceMessage.h:392
simgrid::s4u::Mailbox * answer_mailbox
The mailbox to which the answer message should be sent.
Definition: ComputeServiceMessage.h:145
std::shared_ptr< FailureCause > cause
The failure cause.
Definition: ComputeServiceMessage.h:306
ComputeServiceTerminatePilotJobAnswerMessage(std::shared_ptr< PilotJob >, std::shared_ptr< ComputeService > compute_service, bool success, std::shared_ptr< FailureCause > failure_cause, double payload)
Constructor.
Definition: ComputeServiceMessage.cpp:311
std::shared_ptr< ComputeService > compute_service
The compute service on which the job has completed.
Definition: ComputeServiceMessage.h:180
std::shared_ptr< PilotJob > job
The pilot job that has started.
Definition: ComputeServiceMessage.h:273
double payload
The message name.
Definition: SimulationMessage.h:40
ComputeServiceSubmitCompoundJobAnswerMessage(std::shared_ptr< CompoundJob >, std::shared_ptr< ComputeService >, bool success, std::shared_ptr< FailureCause > failure_cause, double payload)
Constructor.
Definition: ComputeServiceMessage.cpp:58
bool success
Whether to job submission was successful.
Definition: ComputeServiceMessage.h:165
std::shared_ptr< ComputeService > compute_service
The compute service to which the job had been submitted.
Definition: ComputeServiceMessage.h:334
std::shared_ptr< CompoundJob > job
The job that has completed.
Definition: ComputeServiceMessage.h:178
std::map< std::string, std::string > service_specific_args
Service specific arguments.
Definition: ComputeServiceMessage.h:149
std::shared_ptr< ComputeService > compute_service
The compute service on which the pilot job has expired.
Definition: ComputeServiceMessage.h:288
ComputeServicePilotJobExpiredMessage(std::shared_ptr< PilotJob >, std::shared_ptr< ComputeService >, double payload)
Constructor.
Definition: ComputeServiceMessage.cpp:245
A message sent to a ComputeService to terminate a CompoundJob previously submitted for execution.
Definition: ComputeServiceMessage.h:200
std::shared_ptr< FailureCause > failure_cause
The cause of the failure, or nullptr on success.
Definition: ComputeServiceMessage.h:167
std::shared_ptr< CompoundJob > job
The standard job to terminate.
Definition: ComputeServiceMessage.h:219
ComputeServicePilotJobFailedMessage(std::shared_ptr< PilotJob >, std::shared_ptr< ComputeService >, std::shared_ptr< FailureCause > cause, double payload)
Constructor.
Definition: ComputeServiceMessage.cpp:266
ComputeServiceCompoundJobDoneMessage(std::shared_ptr< CompoundJob >, std::shared_ptr< ComputeService >, double payload)
Constructor.
Definition: ComputeServiceMessage.cpp:84
A message sent to a ComputeService to asks if at least one host has some available resources right no...
Definition: ComputeServiceMessage.h:370
std::shared_ptr< CompoundJob > job
The job that has failed.
Definition: ComputeServiceMessage.h:192
ComputeServiceTerminatePilotJobRequestMessage(simgrid::s4u::Mailbox *answer_mailbox, std::shared_ptr< PilotJob >, double payload)
Constructor.
Definition: ComputeServiceMessage.cpp:288
ComputeServiceTerminateCompoundJobAnswerMessage(std::shared_ptr< CompoundJob >, std::shared_ptr< ComputeService >, bool success, std::shared_ptr< FailureCause > failure_cause, double payload)
Constructor.
Definition: ComputeServiceMessage.cpp:145
std::shared_ptr< FailureCause > failure_cause
The cause of the failure, or nullptr on success.
Definition: ComputeServiceMessage.h:225
ComputeServiceCompoundJobFailedMessage(std::shared_ptr< CompoundJob >, std::shared_ptr< ComputeService >, double payload)
Constructor.
Definition: ComputeServiceMessage.cpp:104
A message sent by a ComputeService when a CompoundJob has completed execution.
Definition: ComputeServiceMessage.h:173
bool success
Whether to job termination was successful.
Definition: ComputeServiceMessage.h:223
ComputeServicePilotJobStartedMessage(std::shared_ptr< PilotJob >, std::shared_ptr< ComputeService >, double payload)
Constructor.
Definition: ComputeServiceMessage.cpp:224
ComputeServiceSubmitCompoundJobRequestMessage(simgrid::s4u::Mailbox *answer_mailbox, std::shared_ptr< CompoundJob > job, const std::map< std::string, std::string > service_specific_args, double payload)
Constructor.
Definition: ComputeServiceMessage.cpp:35
A message sent by a ComputeService in answer to a PilotJob termination request.
Definition: ComputeServiceMessage.h:325
A message sent to a ComputeService to terminate a PilotJob previously submitted for execution.
Definition: ComputeServiceMessage.h:312