@InterfaceStability.Evolving public enum AlterMirrorOp extends Enum<AlterMirrorOp>
| 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 final AlterMirrorOp STOP
public static final AlterMirrorOp CLEAR_OFFSETS
public static final AlterMirrorOp START_PENDING_MIRROR
public static final AlterMirrorOp PAUSE_PENDING_MIRROR
public static final AlterMirrorOp CONVERT_TO_START_PENDING_MIRROR
public static final AlterMirrorOp PROMOTE_LOCAL_AND_START_REMOTE_MIRROR
public static final AlterMirrorOp PROMOTE_LOCAL_AND_PAUSE_REMOTE_MIRROR
public static final AlterMirrorOp CONVERT_TO_PAUSE_PENDING_MIRROR
public static final AlterMirrorOp FAIL_MIRROR
public static final AlterMirrorOp REPAIR
public static final AlterMirrorOp COMPLETE_REPAIR
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)