public final class DataCloudTags
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CTLG_ADD_MASTER
Denotes the request to register / add a master file to the Replica Catalogue.
The format of this request is Object[3] = {String filename, FileAttribute attr, Integer resID}. The reply tag name is CTLG_ADD_MASTER_RESULT. |
static int |
CTLG_ADD_MASTER_ERROR
Denotes that master file addition is failed due to an unknown error
|
static int |
CTLG_ADD_MASTER_ERROR_FULL
Denotes that master file addition is failed due to the catalogue is full
|
static int |
CTLG_ADD_MASTER_RESULT
Sends the result of registering a master file back to sender.
The format of the reply is Object[3] = {String filename, Integer uniqueID, Integer resultID}. NOTE: The result id is in the form of CTLG_ADD_MASTER_XXXX where XXXX means the error/success message |
static int |
CTLG_ADD_MASTER_SUCCESSFUL
Denotes that master file addition is successful
|
static int |
CTLG_ADD_REPLICA
Denotes the request to register / add a replica file to the Replica Catalogue.
The format of this request is Object[2] = {String lfn, Integer resourceID}. The reply tag name is CTLG_ADD_REPLICA_RESULT. |
static int |
CTLG_ADD_REPLICA_ERROR
Denotes that replica file addition is failed due to an unknown error
|
static int |
CTLG_ADD_REPLICA_ERROR_DOESNT_EXIST
Denotes that replica file addition is failed because the given file name does not exist in
the catalogue
|
static int |
CTLG_ADD_REPLICA_ERROR_FULL
Denotes that replica file addition is failed due to the catalogue is full
|
static int |
CTLG_ADD_REPLICA_RESULT
Sends the result of registering a replica 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_ADD_REPLICA_XXXX where XXXX means the error/success message |
static int |
CTLG_ADD_REPLICA_SUCCESSFUL
Denotes that replica file addition is successful
|
static 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. |
static int |
CTLG_DELETE_MASTER_DOESNT_EXIST
Denotes that master file deletion is failed because the file does not exist in the catalogue
|
static int |
CTLG_DELETE_MASTER_ERROR
Denotes that master file deletion is failed due to an unknown error
|
static int |
CTLG_DELETE_MASTER_REPLICAS_EXIST
Denotes that master file deletion is failed because replica files are still in the catalogue.
|
static 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 |
static int |
CTLG_DELETE_MASTER_SUCCESSFUL
Denotes that master file deletion is successful
|
static int |
CTLG_DELETE_REPLICA
Denotes the request to de-register / delete a replica file from the Replica Catalogue.
The format of this request is Object[2] = {String lfn, Integer resourceID}. The reply tag name is CTLG_DELETE_REPLICA_RESULT. |
static int |
CTLG_DELETE_REPLICA_ERROR
Denotes that replica file deletion is failed due to an unknown error
|
static int |
CTLG_DELETE_REPLICA_ERROR_DOESNT_EXIST
Denotes that replica file deletion is failed because the file does not exist in the catalogue
|
static int |
CTLG_DELETE_REPLICA_RESULT
Sends the result of de-registering a replica 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_REPLICA_XXXX where XXXX means the error/success message |
static int |
CTLG_DELETE_REPLICA_SUCCESSFUL
Denotes that replica file deletion is successful
|
static int |
CTLG_FILE_ATTR_DELIVERY
Sends the result for a file attribute back to sender.
The format of the reply is {FileAttribute fileAttr}. NOTE: The fileAttr could be null if not found. |
static int |
CTLG_FILTER
Denotes the request to get a list of file attributes based on the given filter.
The format of this request is Object[2] = {Filter filter, Integer senderID}. The reply tag name is CTLG_FILTER_DELIVERY. |
static int |
CTLG_FILTER_DELIVERY
Sends the result for a list of file attributes back to sender.
The format of the reply is {List attrList}. NOTE: The attrList could be null if not found. |
static int |
CTLG_GET_FILE_ATTR
Denotes the request to get the attribute of a file.
The format of this request is Object[2] = {String lfn, Integer senderID}. The reply tag name is CTLG_FILE_ATTR_DELIVERY. |
static int |
CTLG_GET_REPLICA
Denotes the request for a location of a replica file.
The format of this request is Object[2] = {String lfn, Integer senderID}. The reply tag name is CTLG_REPLICA_DELIVERY.NOTE: This request only ask for one location only not all. |
static int |
CTLG_GET_REPLICA_LIST
Denotes the request for all locations of a replica file.
The format of this request is Object[2] = {String lfn, Integer senderID}. The reply tag name is CTLG_REPLICA_LIST_DELIVERY. |
static int |
CTLG_MODIFY_MASTER
Denotes the request to modify an existing master file information stored in the Replica
Catalogue.
The format of this request is Object[3] = {String filename, FileAttribute attr, Integer resID}. The reply tag name is CTLG_MODIFY_MASTER_RESULT. |
static int |
CTLG_MODIFY_MASTER_ERROR
Denotes that master file modification is failed due to an unknown error
|
static int |
CTLG_MODIFY_MASTER_ERROR_DOESNT_EXIST
Denotes that master file modification is failed because the file does not exist in the
catalogue
|
static int |
CTLG_MODIFY_MASTER_ERROR_READ_ONLY
Denotes that master file modification is failed because the file attribute is set to a
read-only
|
static int |
CTLG_MODIFY_MASTER_RESULT
Sends the result of modifying 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_MODIFY_MASTER_XXXX where XXXX means the error/success message |
static int |
CTLG_MODIFY_MASTER_SUCCESSFUL
Denotes that master file deletion is successful
|
static int |
CTLG_REPLICA_DELIVERY
Sends the result for a location of a replica file back to sender.
The format of the reply is Object[2] = {String lfn, Integer resourceID}. NOTE: The resourceID could be -1 if not found. |
static int |
CTLG_REPLICA_LIST_DELIVERY
Sends the result for all locations of a replica file back to sender.
The format of the reply is Object[2] = {String lfn, List locationList}. NOTE: The locationList could be null if not found. |
static int |
DATAcloudlet_SUBMIT
Denotes the submission of a DataCloudlet.
|
static int |
DEFAULT_MTU
Default Maximum Transmission Unit (MTU) of a link in bytes
|
static int |
DEFAULT_STORAGE_SIZE
The default storage size (10 GByte)
|
static int |
FILE_ADD_ERROR
Denotes that file addition is failed due to an unknown error
|
static int |
FILE_ADD_ERROR_ACCESS_DENIED
Denotes that file addition is failed because access/permission denied or not authorized
|
static int |
FILE_ADD_ERROR_EMPTY
Denotes that file addition is failed because the given file is empty
|
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_MASTER
Requests for a master file to be added to the local storage(s).
The format of this request is Object[2] = {File obj, Integer senderID}. The reply tag name is FILE_ADD_MASTER_RESULT. |
static int |
FILE_ADD_MASTER_RESULT
Sends the result of adding a master file back to sender.
The format of the reply is Object[3] = {String lfn, Integer uniqueID, Integer resultID}. NOTE: The result id is in the form of FILE_ADD_XXXX where XXXX means the error/success message |
static int |
FILE_ADD_REPLICA
Requests for a replica file to be added from the local storage(s).
The format of this request is Object[2] = {File obj, Integer senderID}. The reply tag name is FILE_ADD_REPLICA_RESULT. |
static int |
FILE_ADD_REPLICA_RESULT
Sends the result of adding a replica 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 FILE_ADD_XXXX where XXXX means the error/success message |
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_ERROR_ACCESS_DENIED
Denotes that file deletion is failed because access/permission denied or not authorized
|
static int |
FILE_DELETE_ERROR_DOESNT_EXIST
Denotes that file deletion is failed because the file does not exist in the storage nor
catalogue
|
static int |
FILE_DELETE_ERROR_IN_USE
Denotes that file deletion is failed because it is currently used by others
|
static int |
FILE_DELETE_ERROR_READ_ONLY
Denotes that file deletion is failed because it is a read-only file
|
static int |
FILE_DELETE_MASTER
Requests for a master file to be deleted from the local storage(s).
The format of this request is Object[2] = {String lfn, Integer senderID}. The reply tag name is FILE_DELETE_MASTER_RESULT. |
static int |
FILE_DELETE_MASTER_RESULT
Sends the result of deleting 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 FILE_DELETE_XXXX where XXXX means the error/success message |
static int |
FILE_DELETE_REPLICA
Requests for a replica file to be deleted from the local storage(s).
The format of this request is Object[2] = {String lfn, Integer senderID}. The reply tag name is FILE_DELETE_REPLICA_RESULT. |
static int |
FILE_DELETE_REPLICA_RESULT
Sends the result of deleting a replica 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 FILE_DELETE_XXXX where XXXX means the error/success message |
static int |
FILE_DELETE_SUCCESSFUL
Denotes that file deletion is successful
|
static int |
FILE_DELIVERY
Sends the file to the requester.
|
static int |
FILE_MODIFY
Requests for a file to be modified from the local storage(s).
The format of this request is Object[2] = {File obj, Integer senderID}. The reply tag name is FILE_MODIFY_RESULT. |
static int |
FILE_MODIFY_ERROR
Denotes that file modification is failed due to an unknown error
|
static int |
FILE_MODIFY_ERROR_ACCESS_DENIED
Denotes that file modification is failed because access/permission denied or not authorized
|
static int |
FILE_MODIFY_ERROR_DOESNT_EXIST
Denotes that file modification is failed because the file does not exist
|
static int |
FILE_MODIFY_ERROR_IN_USE
Denotes that file modification is failed because the file is currently used by others
|
static int |
FILE_MODIFY_ERROR_READ_ONLY
Denotes that file modification is failed because it is a read-only file
|
static int |
FILE_MODIFY_RESULT
Sends the result of deleting a 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 FILE_MODIFY_XXXX where XXXX means the error/success message |
static int |
FILE_MODIFY_SUCCESSFUL
Denotes that file modification is successful
|
static int |
FILE_REQUEST
Requests for a file that is stored on the local storage(s).
The format of this request is Object[2] = {String lfn, Integer senderID}. The reply tag name is FILE_DELIVERY. |
static int |
INQUIRY_GLOBAL_RC_LIST
Denotes a list of Replica Catalogue (RC) entities that are listed in other regional Data GIS
entities.
|
static int |
INQUIRY_LOCAL_RC_LIST
Denotes a list of all Replica Catalogue (RC) entities that are listed in this regional Data
GIS entity.
|
static int |
INQUIRY_RC_LIST
Denotes a list of Replica Catalogue IDs.
|
static int |
INQUIRY_RC_RESULT
Denotes a result regarding to a list of Replica Catalogue IDs.
|
static int |
PKT_SIZE
The default packet size (in byte) for sending events to other entity.
|
static int |
REGISTER_REPLICA_CTLG
Registers a Replica Catalogue (RC) entity to a Data GIS
|
public static final int DEFAULT_MTU
public static final int PKT_SIZE
public static final int DEFAULT_STORAGE_SIZE
public static final int REGISTER_REPLICA_CTLG
public static final int INQUIRY_LOCAL_RC_LIST
public static final int INQUIRY_GLOBAL_RC_LIST
public static final int INQUIRY_RC_LIST
public static final int INQUIRY_RC_RESULT
public static final int DATAcloudlet_SUBMIT
public static final int FILE_REQUEST
FILE_DELIVERY.public static final int FILE_DELIVERY
public static final int FILE_ADD_MASTER
FILE_ADD_MASTER_RESULT.public static final int FILE_ADD_MASTER_RESULT
public static final int FILE_ADD_REPLICA
FILE_ADD_REPLICA_RESULT.public static final int FILE_ADD_REPLICA_RESULT
public static final int FILE_ADD_SUCCESSFUL
public static final int FILE_ADD_ERROR_STORAGE_FULL
public static final int FILE_ADD_ERROR_EMPTY
public static final int FILE_ADD_ERROR_EXIST_READ_ONLY
public static final int FILE_ADD_ERROR
public static final int FILE_ADD_ERROR_ACCESS_DENIED
public static final int FILE_DELETE_MASTER
FILE_DELETE_MASTER_RESULT.public static final int FILE_DELETE_MASTER_RESULT
public static final int FILE_DELETE_REPLICA
FILE_DELETE_REPLICA_RESULT.public static final int FILE_DELETE_REPLICA_RESULT
public static final int FILE_DELETE_SUCCESSFUL
public static final int FILE_DELETE_ERROR
public static final int FILE_DELETE_ERROR_READ_ONLY
public static final int FILE_DELETE_ERROR_DOESNT_EXIST
public static final int FILE_DELETE_ERROR_IN_USE
public static final int FILE_DELETE_ERROR_ACCESS_DENIED
public static final int FILE_MODIFY
FILE_MODIFY_RESULT.public static final int FILE_MODIFY_RESULT
public static final int FILE_MODIFY_SUCCESSFUL
public static final int FILE_MODIFY_ERROR
public static final int FILE_MODIFY_ERROR_READ_ONLY
public static final int FILE_MODIFY_ERROR_DOESNT_EXIST
public static final int FILE_MODIFY_ERROR_IN_USE
public static final int FILE_MODIFY_ERROR_ACCESS_DENIED
public static final int CTLG_GET_REPLICA
CTLG_REPLICA_DELIVERY.public static final int CTLG_REPLICA_DELIVERY
public static final int CTLG_GET_REPLICA_LIST
CTLG_REPLICA_LIST_DELIVERY.public static final int CTLG_REPLICA_LIST_DELIVERY
public static final int CTLG_GET_FILE_ATTR
CTLG_FILE_ATTR_DELIVERY.public static final int CTLG_FILE_ATTR_DELIVERY
public static final int CTLG_FILTER
CTLG_FILTER_DELIVERY.public static final int CTLG_FILTER_DELIVERY
public static final int CTLG_ADD_MASTER
CTLG_ADD_MASTER_RESULT.public static final int CTLG_ADD_MASTER_RESULT
public static final int CTLG_ADD_MASTER_SUCCESSFUL
public static final int CTLG_ADD_MASTER_ERROR
public static final int CTLG_ADD_MASTER_ERROR_FULL
public static final int CTLG_DELETE_MASTER
CTLG_DELETE_MASTER_RESULT.public static final int CTLG_DELETE_MASTER_RESULT
public static final int CTLG_DELETE_MASTER_SUCCESSFUL
public static final int CTLG_DELETE_MASTER_ERROR
public static final int CTLG_DELETE_MASTER_DOESNT_EXIST
public static final int CTLG_DELETE_MASTER_REPLICAS_EXIST
public static final int CTLG_ADD_REPLICA
CTLG_ADD_REPLICA_RESULT.public static final int CTLG_ADD_REPLICA_RESULT
public static final int CTLG_ADD_REPLICA_SUCCESSFUL
public static final int CTLG_ADD_REPLICA_ERROR
public static final int CTLG_ADD_REPLICA_ERROR_DOESNT_EXIST
public static final int CTLG_ADD_REPLICA_ERROR_FULL
public static final int CTLG_DELETE_REPLICA
CTLG_DELETE_REPLICA_RESULT.public static final int CTLG_DELETE_REPLICA_RESULT
public static final int CTLG_DELETE_REPLICA_SUCCESSFUL
public static final int CTLG_DELETE_REPLICA_ERROR
public static final int CTLG_DELETE_REPLICA_ERROR_DOESNT_EXIST
public static final int CTLG_MODIFY_MASTER
CTLG_MODIFY_MASTER_RESULT.public static final int CTLG_MODIFY_MASTER_RESULT
public static final int CTLG_MODIFY_MASTER_SUCCESSFUL
public static final int CTLG_MODIFY_MASTER_ERROR
public static final int CTLG_MODIFY_MASTER_ERROR_DOESNT_EXIST
public static final int CTLG_MODIFY_MASTER_ERROR_READ_ONLY