public class ClusterSpec
Abstract class specifying information about the consensus algorithm used for a cluster of nodes.
Modifier and Type | Class and Description |
---|---|
static class |
ClusterSpec.Raft
A class representing the configuration of a raft consensus algorithm used for a cluster of nodes.
|
Constructor and Description |
---|
ClusterSpec()
Abstract class specifying information about the consensus algorithm used for a cluster of nodes.
|
Modifier and Type | Method and Description |
---|---|
int |
getClusterSize()
The number of nodes within the cluster.
|