Interface IRedisCacheClient
Methods
get
- get(key: string, options?: ICacheGetOptions): Promise<any>
-
Parameters
-
key: string
-
Optional options: ICacheGetOptions
Returns Promise<any>
removeKeysByPattern
- removeKeysByPattern(prefix: string): Promise<number>
-
Parameters
Returns Promise<number>
set
- set(key: string, value: any, options?: ICacheSetOptions): Promise<any>
-
Parameters
-
key: string
-
value: any
-
Optional options: ICacheSetOptions
Returns Promise<any>