public enum UrlHAMode extends Enum<UrlHAMode>
Enum Constant and Description |
---|
AURORA |
FAILOVER |
NONE |
REPLICATION |
Modifier and Type | Method and Description |
---|---|
static UrlHAMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UrlHAMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UrlHAMode AURORA
public static final UrlHAMode REPLICATION
public static final UrlHAMode FAILOVER
public static final UrlHAMode NONE
public static UrlHAMode[] values()
for (UrlHAMode c : UrlHAMode.values()) System.out.println(c);
public static UrlHAMode 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 nullCopyright © 2015. All rights reserved.