Class DistributedClusterStateUpdater


  • public class DistributedClusterStateUpdater
    extends Object
    Gives access to distributed cluster state update methods and allows code to inquire whether distributed state update is enabled.
    • Constructor Detail

      • DistributedClusterStateUpdater

        public DistributedClusterStateUpdater​(boolean useDistributedStateUpdate)
        Builds an instance with the specified behavior regarding distribution of state updates, allowing to know distributed updates are not enabled (parameter useDistributedStateUpdate is false), or when they are (parameter is true), gives access to methods and classes allowing the execution of the updates.
        Parameters:
        useDistributedStateUpdate - when this parameter is false, only method expected to ever be called on this instance is isDistributedStateUpdate(), and it will return false.