接口 Cluster
-
- 所有已知实现类:
AbstractCluster,AvailableCluster,BroadcastCluster,FailbackCluster,FailfastCluster,FailoverCluster,FailsafeCluster,ForkingCluster,MergeableCluster,MockClusterWrapper,ZoneAwareCluster
@SPI("failover") public interface ClusterCluster. (SPI, Singleton, ThreadSafe)
-
-
方法概要
所有方法 静态方法 实例方法 抽象方法 修饰符和类型 方法 说明 static ClustergetCluster(org.apache.dubbo.rpc.model.ScopeModel scopeModel, String name)static ClustergetCluster(org.apache.dubbo.rpc.model.ScopeModel scopeModel, String name, boolean wrap)<T> Invoker<T>join(Directory<T> directory, boolean buildFilterChain)Merge the directory invokers to a virtual invoker.
-
-
-
方法详细资料
-
join
@Adaptive <T> Invoker<T> join(Directory<T> directory, boolean buildFilterChain) throws RpcException
Merge the directory invokers to a virtual invoker.- 类型参数:
T-- 参数:
directory-- 返回:
- cluster invoker
- 抛出:
RpcException
-
getCluster
static Cluster getCluster(org.apache.dubbo.rpc.model.ScopeModel scopeModel, String name)
-
-