zookeeper-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [zookeeper] TisonKun commented on a change in pull request #1095: ZOOKEEPER-837: Eliminate cycle dependency between ClientCnxn and ZooKeeper
Date Wed, 25 Sep 2019 11:51:45 GMT
TisonKun commented on a change in pull request #1095: ZOOKEEPER-837: Eliminate cycle dependency
between ClientCnxn and ZooKeeper
URL: https://github.com/apache/zookeeper/pull/1095#discussion_r328076933
 
 

 ##########
 File path: zookeeper-server/src/main/java/org/apache/zookeeper/ClientCnxn.java
 ##########
 @@ -155,13 +155,11 @@
 
     private final int sessionTimeout;
 
-    private final ZooKeeper zooKeeper;
-
-    private final ClientWatchManager watcher;
+    private final ZKWatchManager watchManager;
 
 Review comment:
   Nope *for now*. `ClientWatchManager` provides the only interface `materialize` while we
need to retrieve dataWatches and so on. It can be a separated issue we revisit `ClientWatchManager`
and enrich interfaces it provides, as well as loose this type constrain to `ClientWatchManager`.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message