Package com.wavefront.agent.data
Enum TaskQueueLevel
- java.lang.Object
-
- java.lang.Enum<TaskQueueLevel>
-
- com.wavefront.agent.data.TaskQueueLevel
-
- All Implemented Interfaces:
Serializable
,Comparable<TaskQueueLevel>
public enum TaskQueueLevel extends Enum<TaskQueueLevel>
Controls conditions under which proxy would actually queue data.- Author:
- [email protected]
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TaskQueueLevel
fromString(String name)
boolean
isLessThan(TaskQueueLevel other)
static TaskQueueLevel
valueOf(String name)
Returns the enum constant of this type with the specified name.static TaskQueueLevel[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NEVER
public static final TaskQueueLevel NEVER
-
MEMORY
public static final TaskQueueLevel MEMORY
-
PUSHBACK
public static final TaskQueueLevel PUSHBACK
-
ANY_ERROR
public static final TaskQueueLevel ANY_ERROR
-
ALWAYS
public static final TaskQueueLevel ALWAYS
-
-
Method Detail
-
values
public static TaskQueueLevel[] 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 (TaskQueueLevel c : TaskQueueLevel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TaskQueueLevel 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
-
isLessThan
public boolean isLessThan(TaskQueueLevel other)
-
fromString
public static TaskQueueLevel fromString(String name)
-
-