com.alibaba.dubbo.rpc.cluster.support
Class FailbackCluster

java.lang.Object
  extended by com.alibaba.dubbo.rpc.cluster.support.FailbackCluster
All Implemented Interfaces:
Cluster

public class FailbackCluster
extends Object
implements Cluster

失败自动恢复,后台记录失败请求,定时重发,通常用于消息通知操作。

Failback

Author:
william.liangf

Field Summary
static String NAME
           
 
Constructor Summary
FailbackCluster()
           
 
Method Summary
<T> Invoker<T>
join(Directory<T> directory)
          Merge the directory invokers to a virtual invoker.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final String NAME
See Also:
Constant Field Values
Constructor Detail

FailbackCluster

public FailbackCluster()
Method Detail

join

public <T> Invoker<T> join(Directory<T> directory)
                throws RpcException
Description copied from interface: Cluster
Merge the directory invokers to a virtual invoker.

Specified by:
join in interface Cluster
Returns:
cluster invoker
Throws:
RpcException


Copyright © 2012–2017 Alibaba. All rights reserved.