Class DataCloudTags

java.lang.Object
org.cloudbus.cloudsim.util.DataCloudTags

public final class DataCloudTags extends Object
Contains additional tags for DataCloud features, such as file information retrieval, file transfers, and storage info.
Since:
CloudSim Toolkit 1.0
Author:
Uros Cibej, Anthony Sulistio
  • Field Details

    • RM_BASE

      public static final int RM_BASE
      Base value used for Replica Manager tags.
      See Also:
    • CTLG_BASE

      public static final int CTLG_BASE
      Base value for catalogue tags.
      See Also:
    • DEFAULT_MTU

      public static final int DEFAULT_MTU
      Default Maximum Transmission Unit (MTU) of a link in bytes.
      See Also:
    • PKT_SIZE

      public static final int PKT_SIZE
      The default packet size (in byte) for sending events to other entity.
      See Also:
    • FILE_ADD_SUCCESSFUL

      public static final int FILE_ADD_SUCCESSFUL
      Denotes that file addition is successful.
      See Also:
    • FILE_ADD_ERROR_STORAGE_FULL

      public static final int FILE_ADD_ERROR_STORAGE_FULL
      Denotes that file addition is failed because the storage is full.
      See Also:
    • FILE_ADD_ERROR_EXIST_READ_ONLY

      public static final int FILE_ADD_ERROR_EXIST_READ_ONLY
      Denotes that file addition is failed because the file already exists in the catalogue and it is read-only file.
      See Also:
    • FILE_DELETE_SUCCESSFUL

      public static final int FILE_DELETE_SUCCESSFUL
      Denotes that file deletion is successful.
      See Also:
    • FILE_DELETE_ERROR

      public static final int FILE_DELETE_ERROR
      Denotes that file deletion is failed due to an unknown error.
      See Also:
    • CTLG_DELETE_MASTER

      public static final int CTLG_DELETE_MASTER
      Denotes the request to de-register / delete a master file from the Replica Catalogue.

      The format of this request is Object[2] = {String lfn, Integer resourceID}.

      The reply tag name is CTLG_DELETE_MASTER_RESULT.
      See Also:
    • CTLG_DELETE_MASTER_RESULT

      public static final int CTLG_DELETE_MASTER_RESULT
      Sends the result of de-registering a master file back to sender.

      The format of the reply is Object[2] = {String lfn, Integer resultID}.

      NOTE: The result id is in the form of CTLG_DELETE_MASTER_XXXX where XXXX means the error/success message
      See Also: