ClusterSpec
Keywords: net.corda.testing.node.ClusterSpec class
Date: 2023-09-18

net.corda.testing.node

## Class ClusterSpec

- net.corda.testing.node.ClusterSpec

- Direct Known Subclasses:
    ClusterSpec.Raft

      @DoNotImplement
      public class ClusterSpec

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

- - ### Constructor Detail

    - #### ClusterSpec

          public ClusterSpec()

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

  - ### Method Detail

    - #### getClusterSize

          public int getClusterSize()

      The number of nodes within the cluster.