Package com.wavefront.agent.data
Enum QueueingReason
- java.lang.Object
-
- java.lang.Enum<QueueingReason>
-
- com.wavefront.agent.data.QueueingReason
-
- All Implemented Interfaces:
Serializable
,Comparable<QueueingReason>
public enum QueueingReason extends Enum<QueueingReason>
Additional context to help understand why a certain batch was queued.- Author:
- [email protected]
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTH
BUFFER_SIZE
DURABILITY
MEMORY_PRESSURE
PUSHBACK
RETRY
SPLIT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
static QueueingReason
valueOf(String name)
Returns the enum constant of this type with the specified name.static QueueingReason[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PUSHBACK
public static final QueueingReason PUSHBACK
-
AUTH
public static final QueueingReason AUTH
-
SPLIT
public static final QueueingReason SPLIT
-
RETRY
public static final QueueingReason RETRY
-
BUFFER_SIZE
public static final QueueingReason BUFFER_SIZE
-
MEMORY_PRESSURE
public static final QueueingReason MEMORY_PRESSURE
-
DURABILITY
public static final QueueingReason DURABILITY
-
-
Method Detail
-
values
public static QueueingReason[] 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 (QueueingReason c : QueueingReason.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static QueueingReason 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
-
toString
public String toString()
- Overrides:
toString
in classEnum<QueueingReason>
-
-