@ascentbv/ts-common - v1.0.165
Preparing search index...
CacheManager
Class CacheManager
Abstract
Index
Constructors
constructor
Methods
create
Cache
get
Cache
tick
clear
All
all
Stats
reset
All
Stats
get
Ticks
Constructors
constructor
new
CacheManager
()
:
CacheManager
Returns
CacheManager
Methods
Static
create
Cache
createCache
<
K
,
V
>
(
name
:
string
,
options
?:
CacheOptions
)
:
TypedCache
<
K
,
V
>
Type Parameters
K
V
Parameters
name
:
string
Optional
options
:
CacheOptions
Returns
TypedCache
<
K
,
V
>
Static
get
Cache
getCache
<
K
,
V
>
(
name
:
string
)
:
TypedCache
<
K
,
V
>
|
undefined
Type Parameters
K
V
Parameters
name
:
string
Returns
TypedCache
<
K
,
V
>
|
undefined
Static
tick
tick
()
:
void
Returns
void
Static
clear
All
clearAll
()
:
void
Returns
void
Static
all
Stats
allStats
()
:
Map
<
string
,
{
hits
:
number
;
misses
:
number
;
size
:
number
}
>
Returns
Map
<
string
,
{
hits
:
number
;
misses
:
number
;
size
:
number
}
>
Static
reset
All
Stats
resetAllStats
()
:
void
Returns
void
Static
get
Ticks
getTicks
()
:
number
Returns
number
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
create
Cache
get
Cache
tick
clear
All
all
Stats
reset
All
Stats
get
Ticks
@ascentbv/ts-common - v1.0.165
Loading...