public static enum ZooKeeperLeaderRetrievalDriver.LeaderInformationClearancePolicy extends Enum<ZooKeeperLeaderRetrievalDriver.LeaderInformationClearancePolicy>
Enum Constant and Description |
---|
ON_LOST_CONNECTION |
ON_SUSPENDED_CONNECTION |
Modifier and Type | Method and Description |
---|---|
static ZooKeeperLeaderRetrievalDriver.LeaderInformationClearancePolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ZooKeeperLeaderRetrievalDriver.LeaderInformationClearancePolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ZooKeeperLeaderRetrievalDriver.LeaderInformationClearancePolicy ON_SUSPENDED_CONNECTION
public static final ZooKeeperLeaderRetrievalDriver.LeaderInformationClearancePolicy ON_LOST_CONNECTION
public static ZooKeeperLeaderRetrievalDriver.LeaderInformationClearancePolicy[] values()
for (ZooKeeperLeaderRetrievalDriver.LeaderInformationClearancePolicy c : ZooKeeperLeaderRetrievalDriver.LeaderInformationClearancePolicy.values()) System.out.println(c);
public static ZooKeeperLeaderRetrievalDriver.LeaderInformationClearancePolicy 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 © 2014–2023 The Apache Software Foundation. All rights reserved.