public enum FailoverMode extends java.lang.Enum<FailoverMode>
| Enum Constant and Description |
|---|
READER_OR_WRITER |
STRICT_READER |
STRICT_WRITER |
| Modifier and Type | Method and Description |
|---|---|
static FailoverMode |
fromValue(java.lang.String value) |
static FailoverMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FailoverMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FailoverMode STRICT_WRITER
public static final FailoverMode STRICT_READER
public static final FailoverMode READER_OR_WRITER
public static FailoverMode[] values()
for (FailoverMode c : FailoverMode.values()) System.out.println(c);
public static FailoverMode 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 static FailoverMode fromValue(java.lang.String value)