@midwayjs/redisClassesRedisServiceFactory版本:Next本页总览RedisServiceFactory HierarchyServiceFactory<Redis>RedisServiceFactoryIndex ConstructorsconstructorMethodscreateInstancegetgetClientKeysgetClientPrioritygetClientsgetDefaultClientNamegetNamehasisHighPriorityisLowPriorityisMediumPrioritystopConstructors constructornew RedisServiceFactory(): RedisServiceFactoryMethods createInstancecreateInstance(config: any, clientName?: any): Promise<Redis>getget<U>(id?: string): UType parametersU = RedisgetClientKeysgetClientKeys(): string[]getClientPrioritygetClientPriority(name: string): stringgetClientsgetClients(): Map<string, Redis>getDefaultClientNamegetDefaultClientName(): stringgetNamegetName(): stringhashas(id: string): booleanisHighPriorityisHighPriority(name: string): booleanisLowPriorityisLowPriority(name: string): booleanisMediumPriorityisMediumPriority(name: string): booleanstopstop(): Promise<void>