Interface CollectionPropsWatcher

    • 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