public static class ClusterSpec.Raft extends ClusterSpec
A class representing the configuration of a raft consensus algorithm used for a cluster of nodes.
public Raft(int clusterSize)
A class representing the configuration of a raft consensus algorithm used for a cluster of nodes.
clusterSize
- The number of nodes within the cluster.public int getClusterSize()
The number of nodes within the cluster.
public int component1()
The number of nodes within the cluster.
@NotNull public net.corda.testing.node.ClusterSpec.Raft copy(int clusterSize)
A class representing the configuration of a raft consensus algorithm used for a cluster of nodes.
@NotNull public java.lang.String toString()
A class representing the configuration of a raft consensus algorithm used for a cluster of nodes.
public int hashCode()
A class representing the configuration of a raft consensus algorithm used for a cluster of nodes.
public boolean equals(@Nullable java.lang.Object p)
A class representing the configuration of a raft consensus algorithm used for a cluster of nodes.