Package org.apache.dubbo.rpc.cluster
Interface Cluster
- All Known Implementing Classes:
AbstractCluster,AvailableCluster,BroadcastCluster,FailbackCluster,FailfastCluster,FailoverCluster,FailsafeCluster,ForkingCluster,ScopeClusterWrapper,ZoneAwareCluster
@SPI("failover")
public interface Cluster
Cluster. (SPI, Singleton, ThreadSafe)
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic 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> Merge the directory invokers to a virtual invoker.
-
Field Details
-
DEFAULT
- See Also:
-
-
Method Details
-
join
Merge the directory invokers to a virtual invoker.- Type Parameters:
T-- Parameters:
directory-- Returns:
- cluster invoker
- Throws:
RpcException
-
getCluster
-
getCluster
-