Class CoordinationStateTestCluster

java.lang.Object
org.elasticsearch.cluster.coordination.CoordinationStateTestCluster

public class CoordinationStateTestCluster extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
    CoordinationStateTestCluster(List<org.elasticsearch.cluster.node.DiscoveryNode> nodes, org.elasticsearch.cluster.coordination.ElectionStrategy electionStrategy)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.elasticsearch.cluster.ClusterState
    clusterState(long term, long version, org.elasticsearch.cluster.node.DiscoveryNode localNode, org.elasticsearch.cluster.coordination.CoordinationMetadata.VotingConfiguration lastCommittedConfig, org.elasticsearch.cluster.coordination.CoordinationMetadata.VotingConfiguration lastAcceptedConfig, long value)
     
    static org.elasticsearch.cluster.ClusterState
    clusterState(long term, long version, org.elasticsearch.cluster.node.DiscoveryNodes discoveryNodes, org.elasticsearch.cluster.coordination.CoordinationMetadata.VotingConfiguration lastCommittedConfig, org.elasticsearch.cluster.coordination.CoordinationMetadata.VotingConfiguration lastAcceptedConfig, long value)
     
    void
     
    static org.elasticsearch.cluster.ClusterState
    setValue(org.elasticsearch.cluster.ClusterState clusterState, long value)
     
    static long
    value(org.elasticsearch.cluster.ClusterState clusterState)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CoordinationStateTestCluster

      public CoordinationStateTestCluster(List<org.elasticsearch.cluster.node.DiscoveryNode> nodes, org.elasticsearch.cluster.coordination.ElectionStrategy electionStrategy)
  • Method Details

    • clusterState

      public static org.elasticsearch.cluster.ClusterState clusterState(long term, long version, org.elasticsearch.cluster.node.DiscoveryNode localNode, org.elasticsearch.cluster.coordination.CoordinationMetadata.VotingConfiguration lastCommittedConfig, org.elasticsearch.cluster.coordination.CoordinationMetadata.VotingConfiguration lastAcceptedConfig, long value)
    • clusterState

      public static org.elasticsearch.cluster.ClusterState clusterState(long term, long version, org.elasticsearch.cluster.node.DiscoveryNodes discoveryNodes, org.elasticsearch.cluster.coordination.CoordinationMetadata.VotingConfiguration lastCommittedConfig, org.elasticsearch.cluster.coordination.CoordinationMetadata.VotingConfiguration lastAcceptedConfig, long value)
    • setValue

      public static org.elasticsearch.cluster.ClusterState setValue(org.elasticsearch.cluster.ClusterState clusterState, long value)
    • value

      public static long value(org.elasticsearch.cluster.ClusterState clusterState)
    • runRandomly

      public void runRandomly()