Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RedisCacheAdapter

Hierarchy

  • RedisCacheAdapter

Implements

Index

Constructors

constructor

Properties

client

name

name: string

nodeId

nodeId: string = 'global'

options

Readonly type

type: string = 'redis'

Static REDIS

REDIS: any

Methods

cacheKey

  • cacheKey(bin: string, key: string): string

clearBin

  • clearBin(name: string): Promise<void>

configure

get

  • get(key: string, bin: string, options: ICacheSetOptions): Promise<any>

hasRequirements

  • hasRequirements(): Promise<boolean>

set

  • set(key: string, value: any, bin: string, options: ICacheSetOptions): Promise<any>

shutdown

  • shutdown(): Promise<void>

Generated using TypeDoc