Search
Preparing search index...
The search index is not available
@typexs/base
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@typexs/base
index
Cache
Class Cache
Hierarchy
Cache
Implements
ICache
Index
Constructors
constructor
Properties
adapter
Classes
adapters
bins
node
Id
options
NAME
Methods
configure
get
get
Adapter
Classes
get
Adapters
get
Bin
get
Bins
get
Options
register
set
shutdown
Constructors
constructor
new
Cache
(
)
:
Cache
Returns
Cache
Properties
Private
adapter
Classes
adapter
Classes
:
{
clazz
:
ClassType
<
ICacheAdapter
>
;
type
:
string
}
[]
= []
Private
adapters
adapters
:
{}
= {}
Type declaration
[
k:
string
]:
ICacheAdapter
Private
bins
bins
:
{}
= {}
Type declaration
[
k:
string
]:
CacheBin
Private
node
Id
node
Id
:
string
Private
options
options
:
ICacheConfig
= ...
Static
NAME
NAME
:
string
= ...
Methods
configure
configure
(
nodeId
:
string
, config
?:
ICacheConfig
)
:
Promise
<
void
>
Parameters
nodeId:
string
Optional
config:
ICacheConfig
Returns
Promise
<
void
>
get
get<T>
(
key
:
string
, bin
?:
string
, options
?:
ICacheGetOptions
)
:
Promise
<
T
>
Type parameters
T
Parameters
key:
string
bin:
string
= ...
Optional
options:
ICacheGetOptions
Returns
Promise
<
T
>
get
Adapter
Classes
get
Adapter
Classes
(
)
:
{
clazz
:
ClassType
<
ICacheAdapter
>
;
type
:
string
}
[]
Returns
{
clazz
:
ClassType
<
ICacheAdapter
>
;
type
:
string
}
[]
get
Adapters
get
Adapters
(
)
:
{}
Returns
{}
[
k:
string
]:
ICacheAdapter
get
Bin
get
Bin
(
name
:
string
)
:
CacheBin
Parameters
name:
string
Returns
CacheBin
get
Bins
get
Bins
(
)
:
{}
Returns
{}
[
k:
string
]:
CacheBin
get
Options
get
Options
(
)
:
ICacheConfig
Returns
ICacheConfig
register
register
(
s
:
ClassType
<
ICacheAdapter
>
)
:
Promise
<
boolean
>
Parameters
s:
ClassType
<
ICacheAdapter
>
Returns
Promise
<
boolean
>
set
set<T>
(
key
:
string
, value
:
T
, bin
?:
string
, options
?:
ICacheSetOptions
)
:
Promise
<
T
>
Type parameters
T
Parameters
key:
string
value:
T
bin:
string
= ...
Optional
options:
ICacheSetOptions
Returns
Promise
<
T
>
shutdown
shutdown
(
)
:
Promise
<
void
[]
>
Returns
Promise
<
void
[]
>
Modules
Activator
Bootstrap
Startup
index
Cache
constructor
adapter
Classes
adapters
bins
node
Id
options
NAME
configure
get
get
Adapter
Classes
get
Adapters
get
Bin
get
Bins
get
Options
register
set
shutdown
Generated using
TypeDoc