Voting

rdts.datatypes.experiments.protocols.Voting
See theVoting companion object
case class Voting(rounds: Epoch[ReplicatedSet[Vote]], numParticipants: LastWriterWins[Int])

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def checkIfMajorityPossible(count: Int): Boolean
def isOwner(using LocalUid): Boolean
def leadingCount(using id: LocalUid): (Uid, Int)
def release(using LocalUid): Voting
def threshold: Int
def upkeep(using LocalUid, Dots): Dotted[Voting]
def voteFor(uid: Uid)(using LocalUid, Dots): Dotted[Voting]

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product