Interface CollectionPropsWatcher

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean onStateChanged​(Map<String,​String> collectionProperties)
      Called when the collection properties we are registered against has a change of state Note that, due to the way Zookeeper watchers are implemented, a single call may be the result of several state changes
    • Method Detail

      • onStateChanged

        boolean onStateChanged​(Map<String,​String> collectionProperties)
        Called when the collection properties we are registered against has a change of state Note that, due to the way Zookeeper watchers are implemented, a single call may be the result of several state changes
        Parameters:
        collectionProperties - the new collection properties
        Returns:
        true if the watcher should be removed