Class Flag$

java.lang.Object
org.apache.pekko.cluster.ddata.Flag$
All Implemented Interfaces:
Serializable

public class Flag$ extends Object implements Serializable
See Also:
  • Field Details

    • MODULE$

      public static final Flag$ MODULE$
      Static reference to the singleton instance of this Scala object.
  • Constructor Details

    • Flag$

      public Flag$()
  • Method Details

    • empty

      public Flag empty()
      Flag that is initialized to false.
    • Disabled

      public Flag Disabled()
      Flag that is initialized to false.
    • Enabled

      public Flag Enabled()
      Flag that is initialized to true.
    • apply

      public Flag apply()
    • create

      public Flag create()
      Java API: Flag that is initialized to false.
    • apply

      public Flag apply(boolean enabled)
      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.

    • unapply

      public scala.Option<Object> unapply(Flag x$0)