@SPI(value="failover")
public interface Cluster
| Modifier and Type | Method and Description |
|---|---|
static Cluster |
getCluster(org.apache.dubbo.rpc.model.ScopeModel scopeModel,
String name) |
static Cluster |
getCluster(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.
|
static final String DEFAULT
@Adaptive <T> Invoker<T> join(Directory<T> directory, boolean buildFilterChain) throws RpcException
T - directory - RpcExceptionstatic Cluster getCluster(org.apache.dubbo.rpc.model.ScopeModel scopeModel, String name)
static Cluster getCluster(org.apache.dubbo.rpc.model.ScopeModel scopeModel, String name, boolean wrap)
Copyright © 2011–2022 The Apache Software Foundation. All rights reserved.