wrench::CompoundStorageAllocationRequestMessage

class CompoundStorageAllocationRequestMessage : public wrench::CompoundStorageServiceMessage

A message sent to a CompoundStorageService to request a storage allocation for a file.

Public Functions

CompoundStorageAllocationRequestMessage(S4U_CommPort *answer_commport, std::shared_ptr<DataFile> file, unsigned int stripe_count, sg_size_t payload)

Constructor.

Parameters:
  • answer_commport – the commport to which to send the answer

  • file – the file for which storage allocation is requested

  • stripe_count – the strip count

  • payload – the message size in bytes

Public Members

S4U_CommPort *answer_commport

CommPort to which the answer message should be sent.

std::shared_ptr<DataFile> file

The path.

unsigned int stripe_count

the stripe count