Class DummyRedisStorageService<T>

class DummyRedisStorageService

  • Use local redis server and non-default logical database

Type Parameters

Hierarchy

Constructors

Properties

redis: Redis

ioredis client

tableName: string

Virtual table name

ttl: number

Default time to live of a model

CAS_MAX_RETRIES: 5 = 5

Maximum retry count of check-and-save behavior

Static

ENV_REDIS_ENDPOINT: "MY_REDIS_ENDPOINT" = 'MY_REDIS_ENDPOINT'

Environment variable name for redis server endpoint

Static

dbIndex: number = 0

Database index. Each DummyRedisStorageService uses different logical database.

Methods

Generated using TypeDoc