wrench::StorageServiceFileContentChunkMessage

class StorageServiceFileContentChunkMessage : public wrench::StorageServiceMessage

A message sent/received by a StorageService that has a file size as a payload.

Public Functions

explicit StorageServiceFileContentChunkMessage(std::shared_ptr<DataFile> file, double chunk_size, bool last_chunk)

Constructor.

Parameters:
  • file – the workflow data file to which this chunk belongs

  • chunk_size – the chunk size

  • last_chunk – whether this is the last chunk in the file

Public Members

std::shared_ptr<DataFile> file

The file.

bool last_chunk

Whether this is the last file chunk.