| Package | Description |
|---|---|
| org.cloudbus.cloudsim |
| Modifier and Type | Method and Description |
|---|---|
File |
HarddriveStorage.deleteFile(String fileName)
Removes a file from the storage.
|
File |
Storage.deleteFile(String fileName)
Removes a file from the storage.
|
File |
HarddriveStorage.getFile(String fileName)
Gets the file with the specified name.
|
File |
Storage.getFile(String fileName)
Gets the file with the specified name.
|
File |
File.makeMasterCopy()
Clone this file and make the new file as a master copy as well
|
File |
File.makeReplica()
Clone this file but the clone file is set to a replica
|
| Modifier and Type | Method and Description |
|---|---|
double |
HarddriveStorage.addFile(File file)
Adds a file to the storage.
|
double |
SanStorage.addFile(File file)
Adds a file to the storage.
|
int |
Datacenter.addFile(File file)
Adds a file into the resource's storage before the experiment starts.
|
double |
Storage.addFile(File file)
Adds a file to the storage.
|
double |
HarddriveStorage.addReservedFile(File file)
Adds a file for which the space has already been reserved.
|
double |
SanStorage.addReservedFile(File file)
Adds a file for which the space has already been reserved.
|
double |
Storage.addReservedFile(File file)
Adds a file for which the space has already been reserved.
|
boolean |
HarddriveStorage.contains(File file)
Checks whether a certain file is on the storage or not.
|
protected boolean |
Datacenter.contains(File file)
Checks whether the resource has the given file.
|
boolean |
Storage.contains(File file)
Checks whether a file is stored in the storage or not.
|
double |
HarddriveStorage.deleteFile(File file)
Removes a file from the storage.
|
double |
SanStorage.deleteFile(File file)
Removes a file from the storage.
|
double |
Storage.deleteFile(File file)
Removes a file from the storage.
|
double |
HarddriveStorage.deleteFile(String fileName,
File file)
Removes a file from the storage.
|
double |
SanStorage.deleteFile(String fileName,
File file)
Removes a file from the storage.
|
double |
Storage.deleteFile(String fileName,
File file)
Removes a file from the storage.
|
boolean |
HarddriveStorage.renameFile(File file,
String newName)
Renames a file on the storage.
|
boolean |
Storage.renameFile(File file,
String newName)
Renames a file on the storage.
|
| Modifier and Type | Method and Description |
|---|---|
double |
HarddriveStorage.addFile(List<File> list)
Adds a set of files to the storage.
|
double |
SanStorage.addFile(List<File> list)
Adds a set of files to the storage.
|
double |
Storage.addFile(List<File> list)
Adds a set of files to the storage.
|
| Constructor and Description |
|---|
File(File file)
Copy constructor, i.e.
|
Copyright © 2012 The Cloud Computing and Distributed Systems (CLOUDS) Laboratory, The University of Melbourne. All Rights Reserved.