protected static enum PrimarySelectorClient.ZookeeperConnectionErrorPolicy extends Enum<PrimarySelectorClient.ZookeeperConnectionErrorPolicy>
Modifier and Type | Method and Description |
---|---|
static PrimarySelectorClient.ZookeeperConnectionErrorPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PrimarySelectorClient.ZookeeperConnectionErrorPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PrimarySelectorClient.ZookeeperConnectionErrorPolicy STANDARD
public static final PrimarySelectorClient.ZookeeperConnectionErrorPolicy SESSION
public static PrimarySelectorClient.ZookeeperConnectionErrorPolicy[] values()
for (PrimarySelectorClient.ZookeeperConnectionErrorPolicy c : PrimarySelectorClient.ZookeeperConnectionErrorPolicy.values()) System.out.println(c);
public static PrimarySelectorClient.ZookeeperConnectionErrorPolicy 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 © 2023. All Rights Reserved.