@InterfaceAudience.Private
public class ZKSecretWatcher
extends org.apache.hadoop.hbase.zookeeper.ZKListener
| Constructor and Description |
|---|
ZKSecretWatcher(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.hbase.zookeeper.ZKWatcher watcher,
AuthenticationTokenSecretManager secretManager) |
| Modifier and Type | Method and Description |
|---|---|
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) |
public ZKSecretWatcher(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.hbase.zookeeper.ZKWatcher watcher,
AuthenticationTokenSecretManager secretManager)
public void start()
throws org.apache.zookeeper.KeeperException
org.apache.zookeeper.KeeperExceptionpublic void nodeCreated(String path)
nodeCreated in class org.apache.hadoop.hbase.zookeeper.ZKListenerpublic void nodeDeleted(String path)
nodeDeleted in class org.apache.hadoop.hbase.zookeeper.ZKListenerpublic void nodeDataChanged(String path)
nodeDataChanged in class org.apache.hadoop.hbase.zookeeper.ZKListenerpublic void nodeChildrenChanged(String path)
nodeChildrenChanged in class org.apache.hadoop.hbase.zookeeper.ZKListenerpublic String getRootKeyZNode()
public void removeKeyFromZK(AuthenticationKey key)
public void addKeyToZK(AuthenticationKey key)
public void updateKeyInZK(AuthenticationKey key)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.