Interface Flag

  • All Superinterfaces:
    Crdt

    public interface Flag
    extends Crdt
    A flag CRDT.

    A flag is a boolean value that starts out as false, and once set to true , stays true, it cannot be set back to false.

    • Method Detail

      • isEnabled

        boolean isEnabled()
        Whether this flag is enabled.
        Returns:
        True if the flag is enabled.
      • enable

        void enable()
        Enable this flag.