Package org.cloudbus.cloudsim.util
Class DataCloudTags
java.lang.Object
org.cloudbus.cloudsim.util.DataCloudTags
public final class DataCloudTags
extends java.lang.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 Summary
Fields Modifier and Type Field Description static int
CTLG_BASE
Base value for catalogue tags.static int
CTLG_DELETE_MASTER
Denotes the request to de-register / delete a master file from the Replica Catalogue.static int
CTLG_DELETE_MASTER_RESULT
Sends the result of de-registering a master file back to sender.static int
DEFAULT_MTU
Default Maximum Transmission Unit (MTU) of a link in bytes.static 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.static int
FILE_ADD_ERROR_STORAGE_FULL
Denotes that file addition is failed because the storage is full.static int
FILE_ADD_SUCCESSFUL
Denotes that file addition is successful.static int
FILE_DELETE_ERROR
Denotes that file deletion is failed due to an unknown error.static int
FILE_DELETE_SUCCESSFUL
Denotes that file deletion is successful.static int
PKT_SIZE
The default packet size (in byte) for sending events to other entity.static int
RM_BASE
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:
- Constant Field Values
-
CTLG_BASE
public static final int CTLG_BASEBase value for catalogue tags.- See Also:
- Constant Field Values
-
DEFAULT_MTU
public static final int DEFAULT_MTUDefault Maximum Transmission Unit (MTU) of a link in bytes.- See Also:
- Constant Field Values
-
PKT_SIZE
public static final int PKT_SIZEThe default packet size (in byte) for sending events to other entity.- See Also:
- Constant Field Values
-
FILE_ADD_SUCCESSFUL
public static final int FILE_ADD_SUCCESSFULDenotes that file addition is successful.- See Also:
- Constant Field Values
-
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:
- Constant Field Values
-
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:
- Constant Field Values
-
FILE_DELETE_SUCCESSFUL
public static final int FILE_DELETE_SUCCESSFULDenotes that file deletion is successful.- See Also:
- Constant Field Values
-
FILE_DELETE_ERROR
public static final int FILE_DELETE_ERRORDenotes that file deletion is failed due to an unknown error.- See Also:
- Constant Field Values
-
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:
- Constant Field Values
-
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:
- Constant Field Values
-