final case class Flag(enabled: Boolean) extends ReplicatedData with ReplicatedDataSerialization with Product with Serializable
Ordering
- Alphabetic
- By Inheritance
Inherited
- Flag
- Product
- Equals
- ReplicatedDataSerialization
- Serializable
- ReplicatedData
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- type T = Flag
The type of the concrete implementation, e.g.
The type of the concrete implementation, e.g.
GSet[A]
. To be specified by subclass.- Definition Classes
- → ReplicatedData
Implements a boolean flag CRDT that is initialized to
false
and can be switched totrue
.true
wins overfalse
in merge.This class is immutable, i.e. "modifying" methods return a new instance.