public final class RoundRobinMasterSlaveLoadBalanceAlgorithm extends Object implements MasterSlaveLoadBalanceAlgorithm
| Constructor and Description |
|---|
RoundRobinMasterSlaveLoadBalanceAlgorithm() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDataSource(String name,
String masterDataSourceName,
List<String> slaveDataSourceNames) |
String |
getType() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetProperties, setPropertiespublic RoundRobinMasterSlaveLoadBalanceAlgorithm()
public String getType()
getType in interface TypeBasedSPIpublic String getDataSource(String name, String masterDataSourceName, List<String> slaveDataSourceNames)
getDataSource in interface MasterSlaveLoadBalanceAlgorithmCopyright © 2020 The Apache Software Foundation. All rights reserved.