@midwayjs/etcdClassesETCDServiceFactory版本:Next本页总览ETCDServiceFactory HierarchyServiceFactory<Etcd3>ETCDServiceFactoryIndex ConstructorsconstructorPropertiesetcdConfigloggerMethodscreateClientcreateInstancedestroyClientgetgetClientKeysgetClientPrioritygetClientsgetDefaultClientNamegetNamehasinitisHighPriorityisLowPriorityisMediumPrioritystopConstructors constructornew ETCDServiceFactory(): ETCDServiceFactoryProperties etcdConfigetcdConfig: anyloggerlogger: anyMethods createClientcreateClient(config: IOptions): Promise<Etcd3>createInstancecreateInstance(config: any, clientName?: any): Promise<Etcd3>destroyClientdestroyClient(client: Etcd3): Promise<void>getget<U>(id?: string): UType parametersU = Etcd3getClientKeysgetClientKeys(): string[]getClientPrioritygetClientPriority(name: string): stringgetClientsgetClients(): Map<string, Etcd3>getDefaultClientNamegetDefaultClientName(): stringgetNamegetName(): stringhashas(id: string): booleaninitinit(): Promise<void>isHighPriorityisHighPriority(name: string): booleanisLowPriorityisLowPriority(name: string): booleanisMediumPriorityisMediumPriority(name: string): booleanstopstop(): Promise<void>