Join GitHub today
SanStorage network latency isn't included to compute Cloudlet's predicted file transfer time #132
To include network latency when calculating transfer time in the case of SanStorage
Actual behavior :
Not including the latency
Instead of making two methods to get transfer time in both SanStorage and HarddriveStorage (getFileTransferTimePlusNetworkLatency for SanStorage and getTransferTime for HarddriveStorage), making one for HarddriveStorage, and then redefining It In the SanStorage class to take network latency in consideration will make It possible to use that one method directly on FileStorage objects in the predictFileTransferTime method of DatacenterSimple instead of writing new code for that.