Cas class
Constructors
Cas (Command _cmd )
Class for CAS check-and-set pattern
Construct with Command and call
watch() and multiAndExec()
Properties
hashCode
→ int
The hash code for this object.
no setter inherited
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
Methods
multiAndExec (Future func (dynamic Transation ) )
→ Future
multiAndExec takes function
to complete CAS as Transaction
passed function takes Transaction
as only parameter and should be used to
complete transaction
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString ()
→ String
A string representation of this object.
inherited
watch (List <String > watching_keys , dynamic func () )
→ Future
watch takes list of watched keys and
function that is executed
during CAS opertion