curator-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Randgalt <...@git.apache.org>
Subject [GitHub] curator pull request: TreeCache should inform listeners when its f...
Date Wed, 22 Jul 2015 21:28:17 GMT
Github user Randgalt commented on a diff in the pull request:

    https://github.com/apache/curator/pull/92#discussion_r35266454
  
    --- Diff: curator-recipes/src/main/java/org/apache/curator/framework/recipes/cache/TreeCacheEvent.java
---
    @@ -69,6 +69,9 @@
              * While the connection is down, the TreeCache will continue to have its state
from before it lost
              * the connection and after the connection is restored, the TreeCache will emit
normal child events
              * for all of the adds, deletes and updates that happened during the time that
it was disconnected.
    +         * </p><p>
    +         * After reconnection, the cache will resynchronize its internal state with the
server, then fire a
    +         * {@link #INITIALIZED} event.
              * </p>
              */
             CONNECTION_RECONNECTED,
    --- End diff --
    
    Shouldn't isInitialized.set(false) occur for SUSPENDED (i.e. any connection loss)?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message