PathChildrenCache sets a ConnectionStateListener. When the RECONNECTED state is received, it refreshes the cache. You will only get a CHILD_UPDATED if the Stat Version has changed. See the applyNewData() method.
-Jordan > On Mar 6, 2017, at 12:05 PM, Benjamin Jaton <[email protected]> wrote: > > I am getting those events using PathChildrenCacheListener: > > PathChildrenCacheEvent{type=CONNECTION_SUSPENDED, data=null} > PathChildrenCacheEvent{type=CONNECTION_LOST, data=null} > PathChildrenCacheEvent{type=CONNECTION_RECONNECTED data=null} > > The data monitored changed during those events, but there is not > CHILD_UPDATED event received. > > What are the guaranties in this case? > Is it expected to have to fetch the data manually and do a manual diff when > there is a reconnection? > > Thanks > Benjamin
