ClusterSpec

abstract class ClusterSpec

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

Inheritors

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
data class Raft(val clusterSize: Int) : ClusterSpec

A class representing the configuration of a raft consensus algorithm used for a cluster of nodes.

Properties

Link copied to clipboard
abstract val clusterSize: Int

The number of nodes within the cluster.