public class LoadBalanceDriver extends Object
| 构造器和说明 |
|---|
LoadBalanceDriver(LoadBalanceInfo loadBalanceInfo) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
buildBalanceStrategy() |
void |
buildBlackListStrategy() |
void |
buildGroupStrategy() |
void |
buildHostListBalanceStrategies() |
void |
construct() |
void |
loop(UrlParser urlParser,
Listener listener,
GlobalStateInfo globalInfo,
SearchFilter searchFilter,
ConcurrentMap<HostAddress,HostStateInfo> blacklist,
Set<HostAddress> pickedList) |
public LoadBalanceDriver(LoadBalanceInfo loadBalanceInfo)
public void construct()
throws SQLException
SQLExceptionpublic void buildGroupStrategy()
throws SQLException
SQLExceptionpublic void buildBlackListStrategy()
throws SQLException
SQLExceptionpublic void buildBalanceStrategy()
throws SQLException
SQLExceptionpublic void buildHostListBalanceStrategies()
throws SQLException
SQLExceptionpublic void loop(UrlParser urlParser, Listener listener, GlobalStateInfo globalInfo, SearchFilter searchFilter, ConcurrentMap<HostAddress,HostStateInfo> blacklist, Set<HostAddress> pickedList) throws SQLException
SQLExceptionCopyright © 2024 oceanbase.com. All rights reserved.