Enum StateType
- java.lang.Object
-
- java.lang.Enum<StateType>
-
- org.apache.flink.autoscaler.jdbc.state.StateType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COLLECTED_METRICS
CONFIG_OVERRIDES
PARALLELISM_OVERRIDES
SCALING_HISTORY
SCALING_TRACKING
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StateType
createFromIdentifier(java.lang.String identifier)
java.lang.String
getIdentifier()
static StateType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static StateType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SCALING_HISTORY
public static final StateType SCALING_HISTORY
-
SCALING_TRACKING
public static final StateType SCALING_TRACKING
-
COLLECTED_METRICS
public static final StateType COLLECTED_METRICS
-
PARALLELISM_OVERRIDES
public static final StateType PARALLELISM_OVERRIDES
-
CONFIG_OVERRIDES
public static final StateType CONFIG_OVERRIDES
-
-
Method Detail
-
values
public static StateType[] 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 (StateType c : StateType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StateType valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getIdentifier
public java.lang.String getIdentifier()
-
createFromIdentifier
public static StateType createFromIdentifier(java.lang.String identifier)
-
-