Package akka.cluster.ddata
Class Flag$
- java.lang.Object
-
- akka.cluster.ddata.Flag$
-
- All Implemented Interfaces:
java.io.Serializable
public class Flag$ extends java.lang.Object implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Flag$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Flag
apply()
Flag
apply(boolean enabled)
Implements a boolean flag CRDT that is initialized tofalse
and can be switched totrue
.Flag
create()
Java API:Flag
that is initialized tofalse
.Flag
Disabled()
Flag
that is initialized tofalse
.Flag
empty()
Flag
that is initialized tofalse
.Flag
Enabled()
Flag
that is initialized totrue
.scala.Option<java.lang.Object>
unapply(Flag x$0)
-
-
-
Field Detail
-
MODULE$
public static final Flag$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
empty
public Flag empty()
Flag
that is initialized tofalse
.
-
Disabled
public Flag Disabled()
Flag
that is initialized tofalse
.
-
Enabled
public Flag Enabled()
Flag
that is initialized totrue
.
-
apply
public Flag apply()
-
create
public Flag create()
Java API:Flag
that is initialized tofalse
.
-
apply
public Flag apply(boolean enabled)
Implements a boolean flag CRDT that is initialized tofalse
and can be switched totrue
.true
wins overfalse
in merge.This class is immutable, i.e. "modifying" methods return a new instance.
-
unapply
public scala.Option<java.lang.Object> unapply(Flag x$0)
-
-