public interface ReadQueryLoadBalanceAlgorithm extends ShardingSphereAlgorithm, org.apache.shardingsphere.infra.util.spi.type.required.RequiredSPI
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getDataSource(String name,
String writeDataSourceName,
List<String> readDataSourceNames,
TransactionConnectionContext context)
Get data source.
|
getPropsString getDataSource(String name, String writeDataSourceName, List<String> readDataSourceNames, TransactionConnectionContext context)
name - read query logic data source namewriteDataSourceName - name of write data sourcereadDataSourceNames - names of read data sourcescontext - contextCopyright © 2022 The Apache Software Foundation. All rights reserved.