Package org.cdlib.mrt.zk
Enum ZKKey
- All Implemented Interfaces:
Serializable
,Comparable<ZKKey>
Defines relative pathnames to ZooKeeper nodes for a Batch or a Job.
- See Also:
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAccess assembly token dataJSON node summarizing a report sent to the depositor detaining completed and failed jobs for a batch.Read-only JSON node containing the parameters that initiated a submission.String node containing the batch id for the jobRead-only JSON node containing the parameters for a specific job.JSON node containing the primary id and local id for a job.inventory parametersJSON node containing the primary id and local id for a job.Integer node containing the priority assigned to the job.Long node containing the bytes of cloud storage to be used by the job.Empty Ephemeral node that indicates that a Batch or Job has been locked by a consumer daemonRoot path for a QueueItemParent node of state-specific nodes for a Batch or for a Job.JSON node uses to store current state for a Job or a Batch -
Method Summary
-
Enum Constant Details
-
ROOT
Root path for a QueueItem -
STATUS
JSON node uses to store current state for a Job or a Batchstatus: Pending last_modified: now
-
LOCK
Empty Ephemeral node that indicates that a Batch or Job has been locked by a consumer daemon -
STATES
Parent node of state-specific nodes for a Batch or for a Job. The state-specific nodes will contain nodes that reference job ids. -
BATCH_SUBMISSION
Read-only JSON node containing the parameters that initiated a submission. -
BATCH_STATUS_REPORT
JSON node summarizing a report sent to the depositor detaining completed and failed jobs for a batch. -
JOB_CONFIGURATION
Read-only JSON node containing the parameters for a specific job. -
JOB_IDENTIFIERS
JSON node containing the primary id and local id for a job. -
JOB_METADATA
JSON node containing the primary id and local id for a job. -
JOB_PRIORITY
Integer node containing the priority assigned to the job. -
JOB_SPACE_NEEDED
Long node containing the bytes of cloud storage to be used by the job. This value should be set to 0 if the value is unknown. -
JOB_BID
String node containing the batch id for the job -
JOB_INVENTORY
inventory parameters -
ACCESS_TOKEN
Access assembly token data
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
key
-