@InterfaceAudience.Private public class ZKSecretWatcher extends ZooKeeperListener
watcher| 构造器和说明 |
|---|
ZKSecretWatcher(org.apache.hadoop.conf.Configuration conf,
ZooKeeperWatcher watcher,
AuthenticationTokenSecretManager secretManager) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addKeyToZK(AuthenticationKey key) |
String |
getRootKeyZNode() |
void |
nodeChildrenChanged(String path) |
void |
nodeCreated(String path) |
void |
nodeDataChanged(String path) |
void |
nodeDeleted(String path) |
void |
removeKeyFromZK(AuthenticationKey key) |
void |
start() |
void |
updateKeyInZK(AuthenticationKey key) |
getWatcherpublic ZKSecretWatcher(org.apache.hadoop.conf.Configuration conf,
ZooKeeperWatcher watcher,
AuthenticationTokenSecretManager secretManager)
public void start()
throws org.apache.zookeeper.KeeperException
org.apache.zookeeper.KeeperExceptionpublic void nodeCreated(String path)
nodeCreated 在类中 ZooKeeperListenerpublic void nodeDeleted(String path)
nodeDeleted 在类中 ZooKeeperListenerpublic void nodeDataChanged(String path)
nodeDataChanged 在类中 ZooKeeperListenerpublic void nodeChildrenChanged(String path)
nodeChildrenChanged 在类中 ZooKeeperListenerpublic String getRootKeyZNode()
public void removeKeyFromZK(AuthenticationKey key)
public void addKeyToZK(AuthenticationKey key)
public void updateKeyInZK(AuthenticationKey key)
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.