Class AddVotingConfigExclusionsRequest

    • Constructor Detail

      • AddVotingConfigExclusionsRequest

        public AddVotingConfigExclusionsRequest​(String[] nodeDescriptions)
        Construct a request to add voting config exclusions for master-eligible nodes matching the given descriptions, and wait for a default 30 seconds for these exclusions to take effect, removing the nodes from the voting configuration.
        Parameters:
        nodeDescriptions - Descriptions of the nodes to add - see DiscoveryNodes.resolveNodes(String...)
      • AddVotingConfigExclusionsRequest

        public AddVotingConfigExclusionsRequest​(String[] nodeDescriptions,
                                                TimeValue timeout)
        Construct a request to add voting config exclusions for master-eligible nodes matching the given descriptions, and wait for these nodes to be removed from the voting configuration.
        Parameters:
        nodeDescriptions - Descriptions of the nodes whose exclusions to add - see DiscoveryNodes.resolveNodes(String...).
        timeout - How long to wait for the added exclusions to take effect and be removed from the voting configuration.