Aller au contenu principal
Version: Next

RedisServiceFactory

Hierarchy

  • ServiceFactory<Redis>
    • RedisServiceFactory

Index

Constructors

constructor

Methods

createInstance

  • createInstance(config: any, clientName?: any): Promise<Redis>

get

  • get<U>(id?: string): U
  • Type parameters

    • U = Redis

getClientKeys

  • getClientKeys(): string[]

getClientPriority

  • getClientPriority(name: string): string

getClients

  • getClients(): Map<string, Redis>

getDefaultClientName

  • getDefaultClientName(): string

getName

  • getName(): string

has

  • has(id: string): boolean

isHighPriority

  • isHighPriority(name: string): boolean

isLowPriority

  • isLowPriority(name: string): boolean

isMediumPriority

  • isMediumPriority(name: string): boolean

stop

  • stop(): Promise<void>