Preparing search index...
The search index is not available
Entity
Entity
@expo/entity-cache-adapter-redis
GenericRedisCacher
Class GenericRedisCacher<TFields>
Type Parameters
TFields
Hierarchy
GenericRedisCacher
Implements
default
<
TFields
>
Index
Constructors
constructor
Properties
context
entity
Configuration
Methods
cacheDBMisses
Async
cache
Many
Async
invalidate
Many
Async
load
Many
Async
make
Cache
Key
Constructors
constructor
new
Generic
Redis
Cacher
<
TFields
>
(
context
,
entityConfiguration
)
:
GenericRedisCacher
<
TFields
>
Type Parameters
TFields
Parameters
context
:
GenericRedisCacheContext
entityConfiguration
:
default
<
TFields
>
Returns
GenericRedisCacher
<
TFields
>
Properties
Private
Readonly
context
context
:
GenericRedisCacheContext
Private
Readonly
entity
Configuration
entity
Configuration
:
default
<
TFields
>
Methods
cacheDBMisses
Async
cacheDBMisses
Async
(
keys
)
:
Promise
<
void
>
Parameters
keys
:
readonly
string
[]
Returns
Promise
<
void
>
cache
Many
Async
cache
Many
Async
(
objectMap
)
:
Promise
<
void
>
Parameters
objectMap
:
ReadonlyMap
<
string
,
Readonly
<
TFields
>
>
Returns
Promise
<
void
>
invalidate
Many
Async
invalidate
Many
Async
(
keys
)
:
Promise
<
void
>
Parameters
keys
:
readonly
string
[]
Returns
Promise
<
void
>
load
Many
Async
load
Many
Async
(
keys
)
:
Promise
<
ReadonlyMap
<
string
,
CacheLoadResult
<
TFields
>
>
>
Parameters
keys
:
readonly
string
[]
Returns
Promise
<
ReadonlyMap
<
string
,
CacheLoadResult
<
TFields
>
>
>
make
Cache
Key
make
Cache
Key
<
N
>
(
fieldName
,
fieldValue
)
:
string
Type Parameters
N
extends
string
|
number
|
symbol
Parameters
fieldName
:
N
fieldValue
:
NonNullable
<
TFields
[
N
]
>
Returns
string
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
context
entity
Configuration
cacheDBMisses
Async
cache
Many
Async
invalidate
Many
Async
load
Many
Async
make
Cache
Key
Entity
@expo/entity
@expo/entity-
cache-
adapter-
redis
Generic
Redis
Cacher
Redis
Cache
Adapter
Provider
Generic
Redis
Cache
Context
IRedis
IRedis
Transaction
redis
Transformer
Map
@expo/entity-
database-
adapter-
knex
Generated using
TypeDoc