public enum FaultToleranceState extends java.lang.Enum<FaultToleranceState>
IMachine.getFaultToleranceState()
.
Interface ID: {5124F7EC-6B67-493C-9DEE-EE45A44114E1}Enum Constant and Description |
---|
Inactive
No fault tolerance enabled.
|
Master
Fault tolerant master VM.
|
Standby
Fault tolerant standby VM.
|
Modifier and Type | Method and Description |
---|---|
static FaultToleranceState |
fromValue(long v) |
static FaultToleranceState |
fromValue(java.lang.String v) |
int |
value() |
static FaultToleranceState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FaultToleranceState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FaultToleranceState Inactive
public static final FaultToleranceState Master
public static final FaultToleranceState Standby
public static FaultToleranceState[] values()
for (FaultToleranceState c : FaultToleranceState.values()) System.out.println(c);
public static FaultToleranceState valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int value()
public static FaultToleranceState fromValue(long v)
public static FaultToleranceState fromValue(java.lang.String v)