Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CacheLock

Hierarchy

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

  • new CacheLock(id: number, isWrite: boolean): CacheLock

Properties

Private _aquired

_aquired: PromiseDelegate<void> = new PromiseDelegate<void>()

Private _released

_released: PromiseDelegate<void> = new PromiseDelegate<void>()

isWrite

isWrite: boolean

lockId

lockId: number

Accessors

aquired

  • get aquired(): Promise<void>

isFree

  • get isFree(): boolean

lock

  • get lock(): Promise<void>

released

  • get released(): Promise<void>

Methods

aquire

  • aquire(): Promise<void>

release

  • release(): void

Generated using TypeDoc