类的使用
org.apache.dubbo.rpc.cluster.support.AbstractClusterInvoker
-
使用AbstractClusterInvoker的程序包 程序包 说明 org.apache.dubbo.rpc.cluster.interceptor org.apache.dubbo.rpc.cluster.support org.apache.dubbo.rpc.cluster.support.registry -
-
org.apache.dubbo.rpc.cluster.interceptor中AbstractClusterInvoker的使用
参数类型为AbstractClusterInvoker的org.apache.dubbo.rpc.cluster.interceptor中的方法 修饰符和类型 方法 说明 voidClusterInterceptor. after(AbstractClusterInvoker<?> clusterInvoker, Invocation invocation)已过时。voidClusterInterceptor. before(AbstractClusterInvoker<?> clusterInvoker, Invocation invocation)已过时。default ResultClusterInterceptor. intercept(AbstractClusterInvoker<?> clusterInvoker, Invocation invocation)已过时。Override this method orClusterInterceptor.before(AbstractClusterInvoker, Invocation)andClusterInterceptor.after(AbstractClusterInvoker, Invocation)methods to add your own logic expected to be executed before and after invoke.voidClusterInterceptor.Listener. onError(Throwable t, AbstractClusterInvoker<?> clusterInvoker, Invocation invocation)voidClusterInterceptor.Listener. onMessage(Result appResponse, AbstractClusterInvoker<?> clusterInvoker, Invocation invocation) -
org.apache.dubbo.rpc.cluster.support中AbstractClusterInvoker的使用
org.apache.dubbo.rpc.cluster.support中AbstractClusterInvoker的子类 修饰符和类型 类 说明 classAvailableClusterInvoker<T>AvailableClusterclassBroadcastClusterInvoker<T>BroadcastClusterInvokerclassFailbackClusterInvoker<T>When fails, record failure requests and schedule for retry on a regular interval.classFailfastClusterInvoker<T>Execute exactly once, which means this policy will throw an exception immediately in case of an invocation error.classFailoverClusterInvoker<T>When invoke fails, log the initial error and retry other invokers (retry n times, which means at most n different invokers will be invoked) Note that retry causes latency.classFailsafeClusterInvoker<T>When invoke fails, log the error message and ignore this error by returning an empty Result.classForkingClusterInvoker<T>NOTICE!classMergeableClusterInvoker<T>返回AbstractClusterInvoker的org.apache.dubbo.rpc.cluster.support中的方法 修饰符和类型 方法 说明 <T> AbstractClusterInvoker<T>BroadcastCluster. doJoin(Directory<T> directory)<T> AbstractClusterInvoker<T>FailbackCluster. doJoin(Directory<T> directory)<T> AbstractClusterInvoker<T>FailfastCluster. doJoin(Directory<T> directory)<T> AbstractClusterInvoker<T>FailoverCluster. doJoin(Directory<T> directory)<T> AbstractClusterInvoker<T>FailsafeCluster. doJoin(Directory<T> directory)<T> AbstractClusterInvoker<T>ForkingCluster. doJoin(Directory<T> directory)<T> AbstractClusterInvoker<T>MergeableCluster. doJoin(Directory<T> directory) -
org.apache.dubbo.rpc.cluster.support.registry中AbstractClusterInvoker的使用
org.apache.dubbo.rpc.cluster.support.registry中AbstractClusterInvoker的子类 修饰符和类型 类 说明 classZoneAwareClusterInvoker<T>When there're more than one registry for subscription.
-