org.apache.pekko.cluster.ddata.Flag
See theFlag companion object
final case class Flag(enabled: Boolean) extends ReplicatedData, ReplicatedDataSerialization
Implements a boolean flag CRDT that is initialized to false
and can be switched to true
. true
wins over false
in merge.
This class is immutable, i.e. "modifying" methods return a new instance.
Attributes
- Companion
- object
- Source
- Flag.scala
- Graph
-
- Supertypes
-
trait Producttrait Equalstrait Serializabletrait ReplicatedDataclass Objecttrait Matchableclass Any
Members list
In this article