Locker class abstract
Constructors
- Locker()
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
-
lock(
String rid, Duration timeout, {Context? ctx}) → Future< bool?> - Lock create write lock.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
readLock(
String rid, Duration timeout, {Context? ctx}) → Future< bool?> - ReadLock create read lock.
-
readUnlock(
String rid, {Context? ctx}) → Future< void> - ReadUnlock release read lock.
-
toString(
) → String -
A string representation of this object.
inherited
-
unlock(
String rid, {Context? ctx}) → Future< void> - Unlock release write lock.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited