wrench::StorageServiceFileCopyRequestMessage Class Reference
A message sent to a StorageService to copy a file from another StorageService. More...
#include <StorageServiceMessage.h>
Inheritance diagram for wrench::StorageServiceFileCopyRequestMessage:
Public Member Functions | |
StorageServiceFileCopyRequestMessage (std::string answer_mailbox, WorkflowFile *file, StorageService *src, std::string &src_partition, StorageService *dst, std::string &dst_partition, FileRegistryService *file_registry_service, SimulationTimestampFileCopyStart *start_timestamp, double payload) | |
Constructor. More... | |
Public Attributes | |
std::string | answer_mailbox |
Mailbox to which the answer message should be sent. | |
StorageService * | dst |
The StorageService where the file will be copied to. | |
std::string | dst_partition |
The file partition inside the storage service where the file will be copied to. | |
WorkflowFile * | file |
The file to copy. | |
FileRegistryService * | file_registry_service |
The file registry service to update, or none if nullptr. | |
StorageService * | src |
The storage service that the file will be copied from. | |
std::string | src_partition |
The file partition from where the file will be copied from. | |
SimulationTimestampFileCopyStart * | start_timestamp |
The SimulationTimestampFileCopyStart associated with this file copy request. | |
Additional Inherited Members |
Detailed Description
A message sent to a StorageService to copy a file from another StorageService.
Constructor & Destructor Documentation
◆ StorageServiceFileCopyRequestMessage()
wrench::StorageServiceFileCopyRequestMessage::StorageServiceFileCopyRequestMessage | ( | std::string | answer_mailbox, |
WorkflowFile * | file, | ||
StorageService * | src, | ||
std::string & | src_partition, | ||
StorageService * | dst, | ||
std::string & | dst_partition, | ||
FileRegistryService * | file_registry_service, | ||
SimulationTimestampFileCopyStart * | start_timestamp, | ||
double | payload | ||
) |
Constructor.
- Parameters
-
answer_mailbox the mailbox to which to send the answer file the file src the source storage service src_partition the file partition from where the file will be copied dst_partition the file partition where the file will be stored file_registry_service the file registry service to update (nullptr if none) payload the message size in bytes
- Exceptions
-
std::invalid_argument
The documentation for this class was generated from the following files:
- /Users/rafsilva/Documents/isi/workspace/wrench/wrench/src/wrench/services/storage/StorageServiceMessage.h
- /Users/rafsilva/Documents/isi/workspace/wrench/wrench/src/wrench/services/storage/StorageServiceMessage.cpp