Search
Preparing search index...
The search index is not available
@mavenomics/coreutils
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
Cache
CacheLock
Class CacheLock
Hierarchy
Mutex
CacheLock
Index
Constructors
constructor
Properties
_aquired
_released
is
Write
lock
Id
Accessors
aquired
is
Free
lock
released
Methods
aquire
release
Constructors
constructor
new
Cache
Lock
(
id
:
number
, isWrite
:
boolean
)
:
CacheLock
Parameters
id:
number
isWrite:
boolean
Returns
CacheLock
Properties
Private
_aquired
_aquired
:
PromiseDelegate
<
void
>
= new PromiseDelegate<void>()
Private
_released
_released
:
PromiseDelegate
<
void
>
= new PromiseDelegate<void>()
is
Write
is
Write
:
boolean
lock
Id
lock
Id
:
number
Accessors
aquired
get
aquired
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
is
Free
get
isFree
(
)
:
boolean
Returns
boolean
lock
get
lock
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
released
get
released
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
Methods
aquire
aquire
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
release
release
(
)
:
void
Returns
void
Globals
Cache
Cache
Lock
constructor
_aquired
_released
is
Write
lock
Id
aquired
is
Free
lock
released
aquire
release
Lock
Manager
locks
store
check
Lock
clear
delete
get
get
Lock
get
Manager
For
Key
has
lock
put
unlock
Generated using
TypeDoc