Preparing search index...
The search index is not available
@twinlogix/typetta
@twinlogix/typetta
MemoryTypettaCache
Class MemoryTypettaCache
Hierarchy
MemoryTypettaCache
Implements
TypettaCache
Index
Constructors
constructor
Methods
delete
get
set
stats
Constructors
constructor
new
Memory
Typetta
Cache
(
args
?:
{
byteLimit
?:
number
;
}
)
:
MemoryTypettaCache
Parameters
Optional
args:
{
byteLimit
?:
number
;
}
Optional
byte
Limit
?:
number
Returns
MemoryTypettaCache
Methods
delete
delete
(
dao
:
string
, groups
?:
string
[]
)
:
Promise
<
void
>
Parameters
dao:
string
Optional
groups:
string
[]
Returns
Promise
<
void
>
get
get
(
dao
:
string
, group
:
string
, key
:
string
)
:
Promise
<
null
|
Buffer
>
Parameters
dao:
string
group:
string
key:
string
Returns
Promise
<
null
|
Buffer
>
set
set
(
dao
:
string
, group
:
string
, key
:
string
, value
:
Buffer
, ttlMs
?:
number
)
:
Promise
<
void
>
Parameters
dao:
string
group:
string
key:
string
value:
Buffer
Optional
ttlMs:
number
Returns
Promise
<
void
>
stats
stats
(
)
:
Promise
<
{
cached
:
number
;
hits
:
number
;
misses
:
number
;
sets
:
number
;
}
>
Returns
Promise
<
{
cached
:
number
;
hits
:
number
;
misses
:
number
;
sets
:
number
;
}
>
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
Modules
@twinlogix/typetta
Memory
Typetta
Cache
constructor
delete
get
set
stats
Generated using
TypeDoc