Package org.cdlib.mrt.zk
Enum QueueItem.ZkPrefixes
- java.lang.Object
-
- java.lang.Enum<QueueItem.ZkPrefixes>
-
- org.cdlib.mrt.zk.QueueItem.ZkPrefixes
-
- All Implemented Interfaces:
Serializable
,Comparable<QueueItem.ZkPrefixes>
- Enclosing class:
- QueueItem
public static enum QueueItem.ZkPrefixes extends Enum<QueueItem.ZkPrefixes>
Standardized prefix names for Merritt Zookeeper sequential nodes
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static QueueItem.ZkPrefixes
valueOf(String name)
Returns the enum constant of this type with the specified name.static QueueItem.ZkPrefixes[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Access
public static final QueueItem.ZkPrefixes Access
-
Batch
public static final QueueItem.ZkPrefixes Batch
-
Job
public static final QueueItem.ZkPrefixes Job
-
-
Field Detail
-
prefix
public String prefix
-
-
Method Detail
-
values
public static QueueItem.ZkPrefixes[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (QueueItem.ZkPrefixes c : QueueItem.ZkPrefixes.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static QueueItem.ZkPrefixes valueOf(String name)
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
-
-