public interface LoadBalanceStrategy
LoadBalanceProxyFactoryBean| 限定符和类型 | 方法和说明 |
|---|---|
String |
elect()
do load balance and get target.
|
Set<String> |
getFailedTargets()
Gets the failed targets.
|
Set<String> |
getTargets()
Gets the targets.
|
boolean |
hasTargets()
Checks for targets.
|
void |
recoverTarget(String t)
add target to load balance target list.
|
void |
removeTarget(String t)
remove target from load balance target list.
|
String elect()
void removeTarget(String t)
t - the tvoid recoverTarget(String t)
t - the tboolean hasTargets()
Copyright © 2022 Baidu, Inc.. All rights reserved.