wrench::FileReadAction
-
class FileReadAction : public wrench::Action
A class that implements a file read action.
Public Functions
-
std::vector<std::shared_ptr<FileLocation>> getFileLocations() const
Returns the action’s file locations.
- Returns:
A vector of file locations
-
sg_size_t getNumBytesToRead() const
Return the number of bytes to read by this action.
- Returns:
A number of bytes
-
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
-
std::vector<std::shared_ptr<FileLocation>> getFileLocations() const