public static enum ZooKeeperUtils.ZkClientACLMode extends Enum<ZooKeeperUtils.ZkClientACLMode>
Modifier and Type | Method and Description |
---|---|
static ZooKeeperUtils.ZkClientACLMode |
fromConfig(Configuration config)
Return the configured
ZooKeeperUtils.ZkClientACLMode . |
static ZooKeeperUtils.ZkClientACLMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ZooKeeperUtils.ZkClientACLMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ZooKeeperUtils.ZkClientACLMode CREATOR
public static final ZooKeeperUtils.ZkClientACLMode OPEN
public static ZooKeeperUtils.ZkClientACLMode[] values()
for (ZooKeeperUtils.ZkClientACLMode c : ZooKeeperUtils.ZkClientACLMode.values()) System.out.println(c);
public static ZooKeeperUtils.ZkClientACLMode 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 nullpublic static ZooKeeperUtils.ZkClientACLMode fromConfig(Configuration config)
ZooKeeperUtils.ZkClientACLMode
.config
- The config to parseHighAvailabilityOptions.ZOOKEEPER_CLIENT_ACL
if not configured.Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.