keith-turner commented on PR #5256:
URL: https://github.com/apache/accumulo/pull/5256#issuecomment-2605477214

   > I wonder if it would make more sense to have a ZooSession.getCache method. 
Then ZooSession could keep track of the ZooCache's that it creates, and call 
the appropriate methods on the cache when the connection state changes.
   
   Maybe a method like `Supplier<ZooCache> createCache(Set<String> 
watchedPaths)` on zoosession could work.  The supplier could recreate the 
zoocache when reconnect happens, passing the new zookeeper obj to the new cache 
it creates.


-- 
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.

To unsubscribe, e-mail: notifications-unsubscr...@accumulo.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to