StorageService.h
55 virtual void deleteFile(WorkflowFile *file, std::string dst_dir, FileRegistryService *file_registry_service=nullptr);
66 virtual void deleteFile(WorkflowFile *file, WorkflowJob* job, FileRegistryService *file_registry_service=nullptr);
70 virtual void copyFile(WorkflowFile *file, StorageService *src, std::string src_dir, std::string dst_dir);
74 virtual void copyFile(WorkflowFile *file, StorageService *src, WorkflowJob* src_job, WorkflowJob* dst_job);
86 virtual void initiateFileRead(std::string mailbox_that_should_receive_file_content, WorkflowFile *file, std::string src_dir);
A service that can be added to the simulation and that can be used by a WMS when executing a workflow...
Definition: Service.h:26
Abstraction of a job used for executing tasks in a Workflow.
Definition: WorkflowJob.h:31
A data file used/produced by a WorkflowTask in a Workflow.
Definition: WorkflowFile.h:26
virtual bool lookupFile(WorkflowFile *file)
Synchronously asks the storage service whether it holds a file.
Definition: StorageService.cpp:176
virtual double getFreeSpace()
Synchronously asks the storage service for its capacity.
Definition: StorageService.cpp:134
A file registry service (a.k.a. replica catalog) that holds a database of which files are available a...
Definition: FileRegistryService.h:33
double getTotalSpace()
Get the total static capacity of the storage service (in zero simulation time)
Definition: StorageService.cpp:1046
Definition: TerminalOutput.cpp:15
virtual void deleteFile(WorkflowFile *file, FileRegistryService *file_registry_service=nullptr)
Synchronously asks the storage service to delete a file copy.
Definition: StorageService.cpp:638