ILockManager class abstract interface

Interface for document lock management.

Implementations can use different strategies for locking:

  • File-based locks
  • In-memory locks
  • Database locks
  • etc.
Implementers

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

clearAllLocks() → Future<void>
Clears all locks.
isLocked(String documentPath) → Future<bool>
Checks if a document is currently locked.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
release(String documentPath) → Future<void>
Releases the lock on the document.
toString() → String
A string representation of this object.
inherited
tryAcquire(String documentPath) → Future<bool>
Attempts to acquire a lock on the document.

Operators

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