2.2.2.8 CLUSTER_REG_BATCH_COMMAND

The CLUSTER_REG_BATCH_COMMAND enumeration defines the possible values that are specified in a cluster registry batch update command block. The valid constant values are as follows. All other values are reserved.

 typedef  enum 
 {
   CLUSREG_SET_VALUE = 1,
   CLUSREG_CREATE_KEY = 2,
   CLUSREG_DELETE_KEY = 3,
   CLUSREG_DELETE_VALUE = 4,
   CLUSREG_VALUE_DELETED = 6,
   CLUSREG_READ_KEY = 7,
   CLUSREG_READ_VALUE = 8,
   CLUSREG_READ_ERROR = 9,
   CLUSREG_CONTROL_COMMAND = 10, 
   CLUSREG_CONDITION_EXISTS = 11,
   CLUSREG_CONDITION_NOT_EXISTS = 12,
   CLUSREG_CONDITION_IS_EQUAL = 13,
   CLUSREG_CONDITION_IS_NOT_EQUAL = 14,
   CLUSREG_CONDITION_IS_GREATER_THAN = 15,
   CLUSREG_CONDITION_IS_LESS_THAN = 16,
   CLUSREG_CONDITION_KEY_EXISTS = 17,
   CLUSREG_CONDITION_KEY_NOT_EXISTS = 18
 } CLUSTER_REG_BATCH_COMMAND;

CLUSREG_SET_VALUE: Instructs the server to create a value with the name and data set to the respective values stored in the batch command data block.

CLUSREG_CREATE_KEY: Instructs the server to create a new subkey, or to open an existing subkey by using the name stored in the batch command data block.

CLUSREG_DELETE_KEY: Instructs the server to delete the subkey using the name stored in the batch command data block.

CLUSREG_DELETE_VALUE: Instructs the server to delete the value using the name stored in the batch command data block.

CLUSREG_VALUE_DELETED: Indicates that the named value has either been deleted from the registry or the value data has been changed. Returned only through a batch update notification port.

CLUSREG_READ_KEY: Instructs the server to execute future operations on a key, and indicates that the server has executed operations on a key.

CLUSREG_READ_VALUE: Instructs the server to read the specified value of the current key, and represents that the server has read a value.

CLUSREG_READ_ERROR: Indicates that a CLUSREG_READ_VALUE operation on the server has failed.

CLUSREG_CONTROL_COMMAND: A value of 1 indicates to synchronize the registry write to all nodes, a value of 2 indicates the batch can be executed in isolation without synchronizing the registry to all nodes.

CLUSREG_CONDITION_EXISTS: Indicates to successfully complete the batch if the specified value exists.

CLUSREG_CONDITION_NOT_EXISTS: Indicates to successfully complete the batch if the specified value does not exist.

CLUSREG_CONDITION_IS_EQUAL: Indicates to successfully complete the batch if the specified value is equal to the value in the registry.

CLUSREG_CONDITION_IS_NOT_EQUAL: Indicates to successfully complete the batch if the specified value is not the same.

CLUSREG_CONDITION_IS_GREATER_THAN: Indicates to successfully complete the batch if the registry value is greater than the specified value.

CLUSREG_CONDITION_IS_LESS_THAN: Indicates to successfully complete the batch if the registry value is less than the specified value.

CLUSREG_CONDITION_KEY_EXISTS: Indicates to successfully complete the batch if the specified key exists.

CLUSREG_CONDITION_KEY_NOT_EXISTS: Indicates to successfully complete the batch if the specified value does not exist.