Search
Preparing search index...
The search index is not available
@typexs/base
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@typexs/base
index
RedisCacheAdapter
Class RedisCacheAdapter
Hierarchy
RedisCacheAdapter
Implements
ICacheAdapter
Index
Constructors
constructor
Properties
client
name
node
Id
options
type
REDIS
Methods
cache
Key
clear
Bin
configure
get
has
Requirements
set
shutdown
Constructors
constructor
new
Redis
Cache
Adapter
(
)
:
RedisCacheAdapter
Returns
RedisCacheAdapter
Properties
client
client
:
IRedisCacheClient
name
name
:
string
node
Id
node
Id
:
string
= 'global'
options
options
:
ICacheBinConfig
Readonly
type
type
:
string
= 'redis'
Static
REDIS
REDIS
:
any
Methods
cache
Key
cache
Key
(
bin
:
string
, key
:
string
)
:
string
Parameters
bin:
string
key:
string
Returns
string
clear
Bin
clear
Bin
(
name
:
string
)
:
Promise
<
void
>
Parameters
name:
string
Returns
Promise
<
void
>
configure
configure
(
name
:
string
, options
:
ICacheBinConfig
)
:
Promise
<
void
>
Parameters
name:
string
options:
ICacheBinConfig
Returns
Promise
<
void
>
get
get
(
key
:
string
, bin
:
string
, options
:
ICacheSetOptions
)
:
Promise
<
any
>
Parameters
key:
string
bin:
string
options:
ICacheSetOptions
Returns
Promise
<
any
>
has
Requirements
has
Requirements
(
)
:
Promise
<
boolean
>
Returns
Promise
<
boolean
>
set
set
(
key
:
string
, value
:
any
, bin
:
string
, options
:
ICacheSetOptions
)
:
Promise
<
any
>
Parameters
key:
string
value:
any
bin:
string
options:
ICacheSetOptions
Returns
Promise
<
any
>
shutdown
shutdown
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
Modules
Activator
Bootstrap
Startup
index
Redis
Cache
Adapter
constructor
client
name
node
Id
options
type
REDIS
cache
Key
clear
Bin
configure
get
has
Requirements
set
shutdown
Generated using
TypeDoc