DVAtomicCacheAdapter class abstract

Atomic write-if-absent, the compare-and-set the spec requires from a distributed provider before its locks count. DVCacheRuntime.lock uses this when the adapter offers it; single-process adapters get by without.

Constructors

DVAtomicCacheAdapter()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
writeIfAbsent(String key, Object? value, Duration? ttl) → Future<bool>
Writes only when key is absent. Returns whether the write happened.

Operators

operator ==(Object other) → bool
The equality operator.
inherited