WRENCH  1.11
Cyberinfrastructure Simulation Workbench
Overview Installation Getting Started WRENCH 101 WRENCH 102
Public Member Functions | List of all members
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 (std::shared_ptr< DataFile >file, std::shared_ptr< StorageService > storage_service)
 Constructor. More...
 
std::shared_ptr< DataFilegetFile ()
 Getter. More...
 
std::shared_ptr< StorageServicegetStorageService ()
 Getter. More...
 
std::string toString () override
 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 ( std::shared_ptr< DataFile 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()

std::shared_ptr< DataFile > 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 ( )
overridevirtual

Get the human-readable failure message.

Returns
the message

Implements wrench::FailureCause.


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