Class MultiFlag


  • public class MultiFlag
    extends java.lang.Object
    Keeps the state of AtomicBoolean flag for multiple keys, providing the atomic access to all read/update operations
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean compareAndSet​(java.lang.String key, boolean expected, boolean update)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • compareAndSet

        public boolean compareAndSet​(java.lang.String key,
                                     boolean expected,
                                     boolean update)