Package com.linkedin.venice.controller
Enum InstanceRemovableStatuses.NonStoppableReason
- java.lang.Object
-
- java.lang.Enum<InstanceRemovableStatuses.NonStoppableReason>
-
- com.linkedin.venice.controller.InstanceRemovableStatuses.NonStoppableReason
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<InstanceRemovableStatuses.NonStoppableReason>
- Enclosing class:
- InstanceRemovableStatuses
public static enum InstanceRemovableStatuses.NonStoppableReason extends java.lang.Enum<InstanceRemovableStatuses.NonStoppableReason>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MIN_ACTIVE_REPLICA_VIOLATION
ONGOING_MAINTENANCE
UNKNOWN_INSTANCE
WILL_LOSE_DATA
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static InstanceRemovableStatuses.NonStoppableReason
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static InstanceRemovableStatuses.NonStoppableReason[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WILL_LOSE_DATA
public static final InstanceRemovableStatuses.NonStoppableReason WILL_LOSE_DATA
-
MIN_ACTIVE_REPLICA_VIOLATION
public static final InstanceRemovableStatuses.NonStoppableReason MIN_ACTIVE_REPLICA_VIOLATION
-
ONGOING_MAINTENANCE
public static final InstanceRemovableStatuses.NonStoppableReason ONGOING_MAINTENANCE
-
UNKNOWN_INSTANCE
public static final InstanceRemovableStatuses.NonStoppableReason UNKNOWN_INSTANCE
-
-
Method Detail
-
values
public static InstanceRemovableStatuses.NonStoppableReason[] 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 (InstanceRemovableStatuses.NonStoppableReason c : InstanceRemovableStatuses.NonStoppableReason.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InstanceRemovableStatuses.NonStoppableReason 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
-
-