10 #ifndef WRENCH_STORAGE_SERVICE_NOT_ENOUGH_SPACE_H
11 #define WRENCH_STORAGE_SERVICE_NOT_ENOUGH_SPACE_H
16 #include "FailureCause.h"
17 #include "wrench/services/storage/StorageService.h"
41 std::shared_ptr<DataFile>
getFile();
47 std::shared_ptr<DataFile>file;
48 std::shared_ptr<StorageService> storage_service;
57 #endif //WRENCH_STORAGE_SERVICE_NOT_ENOUGH_SPACE_H
A "not enough space on storage service" failure cause.
Definition: StorageServiceNotEnoughSpace.h:30
std::shared_ptr< StorageService > getStorageService()
Getter.
Definition: StorageServiceNotEnoughSpace.cpp:46
std::string toString() override
Get the human-readable failure message.
Definition: StorageServiceNotEnoughSpace.cpp:54
Definition: Action.cpp:28
A top-level class to describe all simulation-valid failures that can occur during workflow execution ...
Definition: FailureCause.h:31
StorageServiceNotEnoughSpace(std::shared_ptr< DataFile >file, std::shared_ptr< StorageService > storage_service)
Constructor.
Definition: StorageServiceNotEnoughSpace.cpp:28
std::shared_ptr< DataFile > getFile()
Getter.
Definition: StorageServiceNotEnoughSpace.cpp:38