wrench::SimulationTimestampFileWrite

class SimulationTimestampFileWrite : public wrench::SimulationTimestampPair

A base class for simulation timestamps regarding file writes.

Subclassed by wrench::SimulationTimestampFileWriteCompletion, wrench::SimulationTimestampFileWriteFailure, wrench::SimulationTimestampFileWriteStart

Public Functions

std::shared_ptr<FileLocation> getDestination()

retrieves the location from which the DataFile is being copied

Returns

the write’s destination location

virtual SimulationTimestampFileWrite *getEndpoint() override

Retrieve the matching endpoint, if any.

retrieves the corresponding SimulationTimestampFileWrite object

Returns

a pointer to the start or end SimulationTimestampFileWrite object

std::shared_ptr<DataFile> getFile()

retrieves the DataFile being written

Returns

a pointer to the DataFile associated with this writes

std::shared_ptr<StorageService> getService()

retrieves the Service that ordered file write

Returns

point to the service associated with this write

std::shared_ptr<WorkflowTask> getTask()

retrieves task associated w/ file write

Returns

a pointer to the WorkflowTask associated with this timestamp