11 #ifndef WRENCH_PILOT_JOB_EXPIRED_EVENT_H
12 #define WRENCH_PILOT_JOB_EXPIRED_EVENT_H
15 #include "wrench/failure_causes/FailureCause.h"
35 class FileRegistryService;
37 class FileRegistryService;
43 class PilotJobExpiredEvent :
public ExecutionEvent {
47 friend class ExecutionEvent;
53 PilotJobExpiredEvent(std::shared_ptr<PilotJob> pilot_job,
54 std::shared_ptr<ComputeService> compute_service)
55 : pilot_job(pilot_job), compute_service(compute_service) {}
60 std::shared_ptr<PilotJob> pilot_job;
62 std::shared_ptr<ComputeService> compute_service;
68 std::string
toString()
override {
return "PilotJobExpiredEvent (cs = " + this->compute_service->getName() +
")";}
80 #endif //WRENCH_PILOT_JOB_EXPIRED_EVENT_H