Search
Preparing search index...
The search index is not available
@typexs/base
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@typexs/base
index
MemoryCacheAdapter
Class MemoryCacheAdapter
Hierarchy
MemoryCacheAdapter
Implements
ICacheAdapter
Index
Constructors
constructor
Properties
data
name
options
timer
type
Methods
clear
Bin
configure
get
has
Requirements
set
shutdown
Constructors
constructor
new
Memory
Cache
Adapter
(
)
:
MemoryCacheAdapter
Returns
MemoryCacheAdapter
Properties
data
data
:
{}
= {}
Type declaration
[
bin:
string
]:
{}
[
k:
string
]:
any
name
name
:
string
options
options
:
ICacheBinConfig
timer
timer
:
{}
= {}
Type declaration
[
k:
string
]:
any
Readonly
type
type
:
string
= 'memory'
Methods
clear
Bin
clear
Bin
(
name
:
string
)
:
void
Parameters
name:
string
Returns
void
configure
configure
(
name
:
string
, options
:
ICacheBinConfig
)
:
void
Parameters
name:
string
options:
ICacheBinConfig
Returns
void
get
get
(
key
:
string
, bin
:
string
, options
?:
ICacheGetOptions
)
:
any
Parameters
key:
string
bin:
string
Optional
options:
ICacheGetOptions
Returns
any
has
Requirements
has
Requirements
(
)
:
boolean
Returns
boolean
set
set
(
key
:
string
, value
:
any
, bin
:
string
, options
?:
ICacheSetOptions
)
:
any
Parameters
key:
string
value:
any
bin:
string
Optional
options:
ICacheSetOptions
Returns
any
shutdown
shutdown
(
)
:
void
Returns
void
Modules
Activator
Bootstrap
Startup
index
Memory
Cache
Adapter
constructor
data
name
options
timer
type
clear
Bin
configure
get
has
Requirements
set
shutdown
Generated using
TypeDoc