FBA class

Constructors

FBA(Map<String, List<Set<String>>> slices)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
slices Map<String, List<Set<String>>>
final

Methods

isQuorum(Set<String> nodes) bool
Check whether nodes form a quorum: each node must have at least one slice fully contained in nodes.
localQuorum(String node, Set<String> candidates) Set<String>?
Find a minimal local quorum for a given node by picking one slice that is fully satisfied within candidates, if any.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
validateStructure() bool
Validate slices structure (no empty slices, nodes referenced exist)

Operators

operator ==(Object other) bool
The equality operator.
inherited