| 程序包 | 说明 |
|---|---|
| com.baidu.jprotobuf.pbrpc.client.ha | |
| com.baidu.jprotobuf.pbrpc.client.ha.lb |
Common load balance support base on spring.
|
| com.baidu.jprotobuf.pbrpc.client.ha.lb.failover |
Load balance fail over interface implementation.
|
| 构造器和说明 |
|---|
HaProtobufRpcProxy(RpcClient rpcClient,
java.lang.Class<T> interfaceClass,
NamingService namingService,
NamingServiceLoadBalanceStrategyFactory loadBalanceStrategyFactory,
FailOverInterceptor failOverInterceptor) |
| 限定符和类型 | 方法和说明 |
|---|---|
FailOverInterceptor |
LoadBalanceProxyFactoryBean.getFailOverInterceptor() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
LoadBalanceProxyFactoryBean.setFailOverInterceptor(FailOverInterceptor failOverInterceptor) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
SocketFailOverInterceptor
Socket fail over intercepter.
|
Copyright © 2015 Baidu, Inc.. All Rights Reserved.