Class ClearVotingConfigExclusionsRequest

    • Constructor Detail

      • ClearVotingConfigExclusionsRequest

        public ClearVotingConfigExclusionsRequest()
        Construct a request to remove all the voting config exclusions from the cluster state.
      • ClearVotingConfigExclusionsRequest

        public ClearVotingConfigExclusionsRequest​(StreamInput in)
                                           throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • getWaitForRemoval

        public boolean getWaitForRemoval()
        Returns:
        whether to wait for the currently excluded nodes to be removed from the cluster before removing their exclusions. True by default.
      • setWaitForRemoval

        public void setWaitForRemoval​(boolean waitForRemoval)
        Parameters:
        waitForRemoval - whether to wait for the currently excluded nodes to be removed from the cluster before removing their exclusions. True by default.
      • setTimeout

        public void setTimeout​(TimeValue timeout)
        Parameters:
        timeout - how long to wait for the excluded nodes to be removed if waitForRemoval is true. Defaults to 30 seconds.
      • getTimeout

        public TimeValue getTimeout()
        Returns:
        how long to wait for the excluded nodes to be removed if waitForRemoval is true. Defaults to 30 seconds.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object