GridSim 5.0 beta

Uses of Class
gridsim.datagrid.File

Packages that use File
gridsim.datagrid Classes that form the framework of DataGrid model in GridSim. 
gridsim.datagrid.storage Classes that form the structure of Storage elements of a DataGrid resource. 
 

Uses of File in gridsim.datagrid
 

Methods in gridsim.datagrid that return File
protected abstract  File ReplicaManager.getFile(String fileName)
          Gets a physical file based on its name
protected  File SimpleReplicaManager.getFile(String fileName)
          Gets a physical file based on its name
 File DataGridUser.getFile(String lfn, int resID)
          Gets a file from a specific resource
 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
 

Methods in gridsim.datagrid with parameters of type File
 int DataGridResource.addFile(File file)
          Adds a file into the resource's storage before the experiment starts.
protected abstract  int ReplicaManager.addFile(File file)
          Adds a file to the local storage.
protected  int SimpleReplicaManager.addFile(File file)
          Adds a file to the local storage.
 boolean DataGridUser.addMaster(File file, int resID)
          Adds a master file to a designated resource
protected  boolean ReplicaManager.contains(File file)
          Checks whether the resource has the given file
protected  boolean SimpleReplicaManager.receiveFileDelivery(File file)
          A requested file has been delivered by another resource.
protected  boolean ReplicaManager.registerFile(File file)
          Registers a given file to the designated Replica Catalogue
 boolean DataGridUser.replicateFile(File master, int resID)
          Makes a replica of the given master file to another resource
 

Constructors in gridsim.datagrid with parameters of type File
File(File file)
          Copy constructor, i.e.
 

Uses of File in gridsim.datagrid.storage
 

Methods in gridsim.datagrid.storage that return File
 File HarddriveStorage.deleteFile(String fileName)
          Removes a file from the storage.
 File Storage.deleteFile(String fileName)
          Removes a file from the storage.
 File TapeStorage.deleteFile(String fileName)
          Removes a file from the storage -- NOT SUPPORTED.
NOTE: a tape is supposed to be for backup purposes, once it is full, individual files can't be deleted unless the tape is cleared.
 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 TapeStorage.getFile(String fileName)
          Gets the file with the specified name.
 

Methods in gridsim.datagrid.storage with parameters of type File
 double HarddriveStorage.addFile(File file)
          Adds a file to the storage.
 double Storage.addFile(File file)
          Adds a file to the storage.
 double TapeStorage.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 Storage.addReservedFile(File file)
          Adds a file for which the space has already been reserved.
 double TapeStorage.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.
 boolean Storage.contains(File file)
          Checks whether a file is stored in the storage or not.
 boolean TapeStorage.contains(File file)
          Checks whether a certain file is on the storage or not.
 double HarddriveStorage.deleteFile(File file)
          Removes a file from the storage.
 double Storage.deleteFile(File file)
          Removes a file from the storage.
 double TapeStorage.deleteFile(File file)
          Removes a file from the storage -- NOT SUPPORTED.
NOTE: a tape is supposed to be for backup purposes, once it is full, individual files can't be deleted unless the tape is cleared.
 double HarddriveStorage.deleteFile(String fileName, File file)
          Removes a file from the storage.
 double Storage.deleteFile(String fileName, File file)
          Removes a file from the storage.
 double TapeStorage.deleteFile(String fileName, File file)
          Removes a file from the storage -- NOT SUPPORTED.
NOTE: a tape is supposed to be for backup purposes, once it is full, individual files can't be deleted unless the tape is cleared.
 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.
 boolean TapeStorage.renameFile(File file, String newName)
          Renames a file on the storage.
 


GridSim 5.0 beta

The University of Melbourne, Australia, 2009