ClusterSpec - corda

corda / net.corda.testing.node / ClusterSpec

# ClusterSpec

`@DoNotImplement abstract class ClusterSpec`

Abstract class specifying information about the consensus algorithm used for a cluster of nodes.

### Types

#### Raft | A class representing the configuration of a raft consensus algorithm used for a cluster of nodes. `data class Raft : ClusterSpec`

### Constructors

#### <init> | Abstract class specifying information about the consensus algorithm used for a cluster of nodes. `ClusterSpec()`

### Properties

#### clusterSize | The number of nodes within the cluster. `abstract val clusterSize: Int`