Interface ClusterPropertiesListener

    • Method Detail

      • onChange

        boolean onChange​(Map<String,​Object> properties)
        Called when a change in the cluster properties occurs. Note that, due to the way Zookeeper watchers are implemented, a single call may be the result of several state changes
        Parameters:
        properties - current cluster properties
        Returns:
        true if the listener should be removed