@Extension(value="failover") public class FailoverCluster extends AbstractCluster
AbstractCluster.GracefulDestroyHookDestroyable.DestroyHookaddressHolder, connectionHolder, countOfInvoke, destroyed, filterChain, initialized, loadBalancer, routerChainconsumerBootstrap, consumerConfig| 构造器和说明 |
|---|
FailoverCluster(ConsumerBootstrap consumerBootstrap)
构造函数
|
| 限定符和类型 | 方法和说明 |
|---|---|
SofaResponse |
doInvoke(SofaRequest request)
子类实现各自逻辑的调用,例如重试等
|
addProvider, checkAlias, checkClusterState, checkProviderInfo, checkProviderVersion, checkStateChange, closeTransports, currentProviderList, destroy, destroy, doSendMsg, filterChain, getAddressHolder, getConnectionHolder, getConsumerConfig, getFilterChain, getRouterChain, init, invoke, isAvailable, noAvailableProviderException, notifyStateChangeToAvailable, notifyStateChangeToUnavailable, removeProvider, select, select, selectByProvider, selectPinpointProvider, sendMsg, unavailableProviderException, updateAllProviders, updateProviderspublic FailoverCluster(ConsumerBootstrap consumerBootstrap)
consumerBootstrap - 服务端消费者启动器public SofaResponse doInvoke(SofaRequest request) throws SofaRpcException
AbstractClusterdoInvoke 在类中 AbstractClusterrequest - Request对象SofaRpcException - rpc异常Copyright © 2008–2018 The Ant Financial. All rights reserved.