Enum FlinkService.ScalingResult
- java.lang.Object
-
- java.lang.Enum<FlinkService.ScalingResult>
-
- org.apache.flink.kubernetes.operator.service.FlinkService.ScalingResult
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<FlinkService.ScalingResult>
- Enclosing interface:
- FlinkService
public static enum FlinkService.ScalingResult extends java.lang.Enum<FlinkService.ScalingResult>
Result of an in-place scaling operation.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALREADY_SCALED
CANNOT_SCALE
SCALING_TRIGGERED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FlinkService.ScalingResult
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static FlinkService.ScalingResult[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SCALING_TRIGGERED
public static final FlinkService.ScalingResult SCALING_TRIGGERED
-
ALREADY_SCALED
public static final FlinkService.ScalingResult ALREADY_SCALED
-
CANNOT_SCALE
public static final FlinkService.ScalingResult CANNOT_SCALE
-
-
Method Detail
-
values
public static FlinkService.ScalingResult[] 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 (FlinkService.ScalingResult c : FlinkService.ScalingResult.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FlinkService.ScalingResult 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
-
-