All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.cloudstate.javasupport.crdt.Flag Maven / Gradle / Ivy

There is a newer version: 0.6.0
Show newest version
package io.cloudstate.javasupport.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. */ public interface Flag extends Crdt { /** * Whether this flag is enabled. * * @return True if the flag is enabled. */ boolean isEnabled(); /** Enable this flag. */ void enable(); }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy