版本:NextIDataSourceManager <DataSource, DataSourceConfig>
Methods
- createInstance(config: DataSourceConfig): Promise<void | DataSource>
- getAllDataSources(): Map<string, DataSource>
- getDataSource(dataSourceName: string): DataSource
- getDataSourceNames(): string[]
- getDataSourcePriority(dataSourceName: string): string
- getDefaultDataSourceName(): string
- hasDataSource(dataSourceName: string): boolean
- isConnected(dataSourceName: string): Promise<boolean>
- isHighPriority(dataSourceName: string): boolean
- isLowPriority(dataSourceName: string): boolean
- isMediumPriority(dataSourceName: string): boolean