@midwayjs/cosClassesCOSServiceFactory版本:Next本页总览COSServiceFactory HierarchyServiceFactory<COS>COSServiceFactoryIndex ConstructorsconstructorPropertiescosConfigloggerMethodscreateClientcreateInstancegetgetClientKeysgetClientPrioritygetClientsgetDefaultClientNamegetNamehasinitisHighPriorityisLowPriorityisMediumPrioritystopConstructors constructornew COSServiceFactory(): COSServiceFactoryProperties cosConfigcosConfig: anyloggerlogger: anyMethods createClientcreateClient(config: COSOptions): Promise<COS>createInstancecreateInstance(config: any, clientName?: any): Promise<COS>getget<U>(id?: string): UType parametersU = COSgetClientKeysgetClientKeys(): string[]getClientPrioritygetClientPriority(name: string): stringgetClientsgetClients(): Map<string, COS>getDefaultClientNamegetDefaultClientName(): stringgetNamegetName(): stringhashas(id: string): booleaninitinit(): Promise<void>isHighPriorityisHighPriority(name: string): booleanisLowPriorityisLowPriority(name: string): booleanisMediumPriorityisMediumPriority(name: string): booleanstopstop(): Promise<void>