Class ZooKeeperScanPolicyObserver.ZKDataHolder
java.lang.Object
org.apache.hadoop.hbase.coprocessor.example.ZooKeeperScanPolicyObserver.ZKDataHolder
- All Implemented Interfaces:
org.apache.zookeeper.Watcher
- Enclosing class:
- ZooKeeperScanPolicyObserver
private static final class ZooKeeperScanPolicyObserver.ZKDataHolder
extends Object
implements org.apache.zookeeper.Watcher
Internal watcher that keep "data" up to date asynchronously.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.zookeeper.Watcher
org.apache.zookeeper.Watcher.Event, org.apache.zookeeper.Watcher.WatcherType
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
ensemble
-
sessionTimeout
-
zk
-
ref
-
data
-
-
Constructor Details
-
ZKDataHolder
-
-
Method Details
-
open
- Throws:
IOException
-
close
-
getData
-
refresh
-
process
- Specified by:
process
in interfaceorg.apache.zookeeper.Watcher
-