wrench::StorageServiceFreeSpaceAnswerMessage

class wrench::StorageServiceFreeSpaceAnswerMessage : public wrench::StorageServiceMessage

A message sent by a StorageService in answer to a free space enquiry.

Public Functions

StorageServiceFreeSpaceAnswerMessage(std::map<std::string, double> free_space, double payload)

Constructor.

Parameters
  • free_space – the free space, in bytes, at each mount point, as a map

  • payload – the message size in bytes

Throws

std::invalid_argument

Public Members

std::map<std::string, double> free_space

The amount of free space in bytes for each mount point, in a map.