Enum Class DocumentProtocol.Priority
java.lang.Object
java.lang.Enum<DocumentProtocol.Priority>
com.yahoo.documentapi.messagebus.protocol.DocumentProtocol.Priority
- All Implemented Interfaces:
Serializable
,Comparable<DocumentProtocol.Priority>
,Constable
- Enclosing class:
- DocumentProtocol
Defines the different priorities allowed for document api messages. Most user traffic should be fit into the
NORMAL categories. Traffic in the HIGH end will be usually be prioritized over important maintenance operations.
Traffic in the LOW end will be prioritized after these operations.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getValue()
static DocumentProtocol.Priority
Returns the enum constant of this class with the specified name.static DocumentProtocol.Priority[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
HIGHEST
-
VERY_HIGH
-
HIGH_1
-
HIGH_2
-
HIGH_3
-
NORMAL_1
-
NORMAL_2
-
NORMAL_3
-
NORMAL_4
-
NORMAL_5
-
NORMAL_6
-
LOW_1
-
LOW_2
-
LOW_3
-
VERY_LOW
-
LOWEST
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
public int getValue()
-