|
||||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
| 使用 FailOverInterceptor 的软件包 | |
|---|---|
| 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. |
| com.baidu.jprotobuf.pbrpc.client.ha 中 FailOverInterceptor 的使用 |
|---|
| 参数类型为 FailOverInterceptor 的 com.baidu.jprotobuf.pbrpc.client.ha 中的构造方法 | |
|---|---|
HaProtobufRpcProxy(RpcClient rpcClient,
java.lang.Class<T> interfaceClass,
NamingService namingService,
NamingServiceLoadBalanceStrategyFactory loadBalanceStrategyFactory,
FailOverInterceptor failOverInterceptor)
|
|
| com.baidu.jprotobuf.pbrpc.client.ha.lb 中 FailOverInterceptor 的使用 |
|---|
| 返回 FailOverInterceptor 的 com.baidu.jprotobuf.pbrpc.client.ha.lb 中的方法 | |
|---|---|
FailOverInterceptor |
LoadBalanceProxyFactoryBean.getFailOverInterceptor()
|
| 参数类型为 FailOverInterceptor 的 com.baidu.jprotobuf.pbrpc.client.ha.lb 中的方法 | |
|---|---|
void |
LoadBalanceProxyFactoryBean.setFailOverInterceptor(FailOverInterceptor failOverInterceptor)
|
| com.baidu.jprotobuf.pbrpc.client.ha.lb.failover 中 FailOverInterceptor 的使用 |
|---|
| 实现 FailOverInterceptor 的 com.baidu.jprotobuf.pbrpc.client.ha.lb.failover 中的类 | |
|---|---|
class |
SocketFailOverInterceptor
Socket fail over intercepter. |
|
||||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||