wrench::StorageServiceNotEnoughSpace Class Reference

A "not enough space on storage service" failure cause. More...

#include <StorageServiceNotEnoughSpace.h>

Inheritance diagram for wrench::StorageServiceNotEnoughSpace:
wrench::FailureCause

Public Member Functions

 StorageServiceNotEnoughSpace (WorkflowFile *file, std::shared_ptr< StorageService > storage_service)
 Constructor. More...
 
WorkflowFilegetFile ()
 Getter. More...
 
std::shared_ptr< StorageServicegetStorageService ()
 Getter. More...
 
std::string toString ()
 Get the human-readable failure message. More...
 

Detailed Description

A "not enough space on storage service" failure cause.

Constructor & Destructor Documentation

◆ StorageServiceNotEnoughSpace()

wrench::StorageServiceNotEnoughSpace::StorageServiceNotEnoughSpace ( WorkflowFile file,
std::shared_ptr< StorageService storage_service 
)

Constructor.

Parameters
filethe file that could not be written
storage_servicethe storage service that ran out of spacee

Member Function Documentation

◆ getFile()

WorkflowFile * wrench::StorageServiceNotEnoughSpace::getFile ( )

Getter.

Returns
the file

◆ getStorageService()

std::shared_ptr< StorageService > wrench::StorageServiceNotEnoughSpace::getStorageService ( )

Getter.

Returns
the storage service

◆ toString()

std::string wrench::StorageServiceNotEnoughSpace::toString ( )
virtual

Get the human-readable failure message.

Returns
the message

Implements wrench::FailureCause.


The documentation for this class was generated from the following files: