GoodDB
Preparing search index...
utils/Caching
LRUCache
Class LRUCache
Index
Constructors
constructor
Properties
cache
Methods
delete
get
put
Constructors
constructor
new
LRUCache
(
capacity
:
number
)
:
LRUCache
Parameters
capacity
:
number
Returns
LRUCache
Properties
Readonly
cache
cache
:
Map
<
string
,
any
>
Methods
delete
delete
(
key
:
string
)
:
boolean
Parameters
key
:
string
Returns
boolean
get
get
(
key
:
string
)
:
any
Parameters
key
:
string
Returns
any
put
put
(
key
:
string
,
value
:
any
)
:
any
Parameters
key
:
string
value
:
any
Returns
any
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
cache
Methods
delete
get
put
GoodDB
Loading...