wrench::FileReadAction

class FileReadAction : public wrench::Action

A class that implements a file read action.

Public Functions

std::shared_ptr<DataFile> getFile() const

Returns the action’s file.

Returns

the file

std::vector<std::shared_ptr<FileLocation>> getFileLocations() const

Returns the action’s file locations.

Returns

A vector of file locations

std::shared_ptr<FileLocation> getUsedFileLocation() const

Return the file location used by the action (or nullptr if action has not started, failed, etc.)

Returns

A storage service

virtual bool usesScratch() const override

Determine whether the action uses scratch.

Returns

true if the action uses scratch, false otherwise