Package org.cloudbus.cloudsim.util
Class DataCloudTags
java.lang.Object
org.cloudbus.cloudsim.util.DataCloudTags
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 Summary
Modifier and TypeFieldDescriptionstatic final int
Base value for catalogue tags.static final int
Denotes the request to de-register / delete a master file from the Replica Catalogue.static final int
Sends the result of de-registering a master file back to sender.static final int
Default Maximum Transmission Unit (MTU) of a link in bytes.static final int
Denotes that file addition is failed because the file already exists in the catalogue and it is read-only file.static final int
Denotes that file addition is failed because the storage is full.static final int
Denotes that file addition is successful.static final int
Denotes that file deletion is failed due to an unknown error.static final int
Denotes that file deletion is successful.static final int
The default packet size (in byte) for sending events to other entity.static final int
Base value used for Replica Manager tags. -
Method Summary
-
Field Details
-
RM_BASE
public static final int RM_BASEBase value used for Replica Manager tags.- See Also:
-
CTLG_BASE
public static final int CTLG_BASEBase value for catalogue tags.- See Also:
-
DEFAULT_MTU
public static final int DEFAULT_MTUDefault Maximum Transmission Unit (MTU) of a link in bytes.- See Also:
-
PKT_SIZE
public static final int PKT_SIZEThe default packet size (in byte) for sending events to other entity.- See Also:
-
FILE_ADD_SUCCESSFUL
public static final int FILE_ADD_SUCCESSFULDenotes that file addition is successful.- See Also:
-
FILE_ADD_ERROR_STORAGE_FULL
public static final int FILE_ADD_ERROR_STORAGE_FULLDenotes 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_ONLYDenotes 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_SUCCESSFULDenotes that file deletion is successful.- See Also:
-
FILE_DELETE_ERROR
public static final int FILE_DELETE_ERRORDenotes that file deletion is failed due to an unknown error.- See Also:
-
CTLG_DELETE_MASTER
public static final int CTLG_DELETE_MASTERDenotes 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 isCTLG_DELETE_MASTER_RESULT
.- See Also:
-
CTLG_DELETE_MASTER_RESULT
public static final int CTLG_DELETE_MASTER_RESULTSends 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:
-