wrench::StorageServiceNotEnoughSpace
-
class wrench::StorageServiceNotEnoughSpace : public wrench::FailureCause
A “not enough space on storage service” failure cause.
Public Functions
Constructor.
- Parameters
file – the file that could not be written
storage_service – the storage service that ran out of spacee
-
std::shared_ptr<DataFile> getFile()
Getter.
- Returns
the file
-
std::shared_ptr<StorageService> getStorageService()
Getter.
- Returns
the storage service
-
virtual std::string toString() override
Get the human-readable failure message.
- Returns
the message