wrench::SimpleStorageService Class Reference

A storage service that provides direct access to some storage resource (e.g., a disk) More...

#include <SimpleStorageService.h>

Inheritance diagram for wrench::SimpleStorageService:
wrench::StorageService wrench::Service

Public Member Functions

 SimpleStorageService (std::string hostname, double capacity, std::map< std::string, std::string > property_list={}, std::map< std::string, std::string > messagepayload_list={})
 Public constructor. More...
 

Detailed Description

A storage service that provides direct access to some storage resource (e.g., a disk)

Constructor & Destructor Documentation

wrench::SimpleStorageService::SimpleStorageService ( std::string  hostname,
double  capacity,
std::map< std::string, std::string >  property_list = {},
std::map< std::string, std::string >  messagepayload_list = {} 
)

Public constructor.

Parameters
hostnamethe name of the host on which to start the service
capacitythe storage capacity in bytes
property_lista property list ({} means "use all defaults")
messagepayload_lista message payload list ({} means "use all defaults")

The documentation for this class was generated from the following files:
  • /home/wrench/wrench/include/wrench/services/storage/simple/SimpleStorageService.h
  • /home/wrench/wrench/src/wrench/services/storage/simple/SimpleStorageService.cpp