Properties
nextLockId
nextLockId: number = 1
Accessors
hasReadLock
- get hasReadLock(): boolean
hasWriteLock
- get hasWriteLock(): boolean
Methods
acquireLock
- acquireLock(isWrite: boolean): Promise<CacheLock>
findLock
- findLock(lockid: number | undefined): undefined | CacheLock
-
Parameters
-
lockid: number | undefined
Returns undefined
|
CacheLock
Protected onReleaseLock
- onReleaseLock(lock: CacheLock): Promise<void>
-
Parameters
Returns Promise<void>
An array of locks that the manager is currently trying to acquire