Class FailfastClusterInvoker<T>
java.lang.Object
org.apache.dubbo.rpc.cluster.support.AbstractClusterInvoker<T>
org.apache.dubbo.rpc.cluster.support.FailfastClusterInvoker<T>
- All Implemented Interfaces:
org.apache.dubbo.common.Node,ClusterInvoker<T>,Invoker<T>
Execute exactly once, which means this policy will throw an exception immediately in case of an invocation error.
Usually used for non-idempotent write operations
Fail-fast
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoInvoke(Invocation invocation, List<Invoker<T>> invokers, LoadBalance loadbalance) Methods inherited from class org.apache.dubbo.rpc.cluster.support.AbstractClusterInvoker
destroy, getDirectory, getInterface, getRegistryUrl, getUrl, invoke, isAvailable, isDestroyed, toStringMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.dubbo.rpc.cluster.ClusterInvoker
hasProxyInvokers, isServiceDiscovery
-
Constructor Details
-
FailfastClusterInvoker
-
-
Method Details
-
doInvoke
public Result doInvoke(Invocation invocation, List<Invoker<T>> invokers, LoadBalance loadbalance) throws RpcException - Throws:
RpcException
-