public enum FailoverStatus extends Enum<FailoverStatus>
Enum Constant and Description |
---|
BOOTSTRAP_SERVERS_NA |
CURRENT_BOOTSTRAP_SERVER_NA |
NO_CONNECTIVITY |
NO_OPERATION_SERVERS_RECEIVED |
OPERATION_SERVERS_NA |
Modifier and Type | Method and Description |
---|---|
static FailoverStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FailoverStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FailoverStatus BOOTSTRAP_SERVERS_NA
public static final FailoverStatus CURRENT_BOOTSTRAP_SERVER_NA
public static final FailoverStatus OPERATION_SERVERS_NA
public static final FailoverStatus NO_OPERATION_SERVERS_RECEIVED
public static final FailoverStatus NO_CONNECTIVITY
public static FailoverStatus[] values()
for (FailoverStatus c : FailoverStatus.values()) System.out.println(c);
public static FailoverStatus 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.