@InterfaceStability.Evolving public enum AlterMirrorOp extends Enum<AlterMirrorOp>
| Enum Constant and Description |
|---|
CLEAR |
FAILOVER |
PAUSE |
PAUSE_LINK |
PROMOTE |
RESUME |
RESUME_LINK |
| Modifier and Type | Method and Description |
|---|---|
static AlterMirrorOp | forId(byte id) |
byte | id() |
boolean | isInternal() |
static AlterMirrorOp | valueOf(String name)Returns the enum constant of this type with the specified name. |
static AlterMirrorOp[] | values()Returns an array containing the constants of this enum type, in the order they are declared. |
public static final AlterMirrorOp PROMOTE
public static final AlterMirrorOp FAILOVER
public static final AlterMirrorOp PAUSE
public static final AlterMirrorOp RESUME
public static final AlterMirrorOp PAUSE_LINK
public static final AlterMirrorOp RESUME_LINK
public static final AlterMirrorOp CLEAR
public static AlterMirrorOp[] values()
for (AlterMirrorOp c : AlterMirrorOp.values()) System.out.println(c);
public static AlterMirrorOp valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic byte id()
public boolean isInternal()
public static AlterMirrorOp forId(byte id)