wrench::DataMovementManager
-
class DataMovementManager : public wrench::Service
A helper daemon (co-located with an execution controler) that handles data movement operations.
Public Functions
Ask the data manager to perform a synchronous file copy.
- Parameters:
src – the source location
dst – the destination location
file_registry_service – a file registry service to update once the file copy has (successfully) completed (none if nullptr)
- Throws:
std::invalid_argument –
Ask the data manager to initiate an asynchronous file copy.
- Parameters:
src – the source location
dst – the destination location
file_registry_service – a file registry service to update once the file copy has (successfully) completed (none if nullptr)
- Throws:
std::invalid_argument –
Ask the data manager to initiate an asynchronous file read.
- Parameters:
location – the location to read from
- Throws:
std::invalid_argument –
Ask the data manager to initiate an asynchronous file read.
- Parameters:
location – the location to read from
num_bytes – the number of bytes to read
- Throws:
std::invalid_argument –
Ask the data manager to initiate an asynchronous file write.
- Parameters:
location – the location to read from
file_registry_service – a file registry service to update once the file write has (successfully) completed
- Throws:
std::invalid_argument –
-
void kill()
Kill the manager (brutally terminate the daemon)
-
virtual void stop() override
Stop the manager.
- Throws:
std::runtime_error –