类 ConsumerContextClusterInterceptor
- java.lang.Object
-
- org.apache.dubbo.rpc.cluster.interceptor.ConsumerContextClusterInterceptor
-
- 所有已实现的接口:
ClusterInterceptor,ClusterInterceptor.Listener
@Activate public class ConsumerContextClusterInterceptor extends Object implements ClusterInterceptor, ClusterInterceptor.Listener
-
-
嵌套类概要
-
从接口继承的嵌套类/接口 org.apache.dubbo.rpc.cluster.interceptor.ClusterInterceptor
ClusterInterceptor.Listener
-
-
构造器概要
构造器 构造器 说明 ConsumerContextClusterInterceptor()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidafter(AbstractClusterInvoker<?> clusterInvoker, Invocation invocation)voidbefore(AbstractClusterInvoker<?> invoker, Invocation invocation)voidonError(Throwable t, AbstractClusterInvoker<?> invoker, Invocation invocation)voidonMessage(Result appResponse, AbstractClusterInvoker<?> invoker, Invocation invocation)-
从接口继承的方法 org.apache.dubbo.rpc.cluster.interceptor.ClusterInterceptor
intercept
-
-
-
-
方法详细资料
-
before
public void before(AbstractClusterInvoker<?> invoker, Invocation invocation)
- 指定者:
before在接口中ClusterInterceptor
-
after
public void after(AbstractClusterInvoker<?> clusterInvoker, Invocation invocation)
- 指定者:
after在接口中ClusterInterceptor
-
onMessage
public void onMessage(Result appResponse, AbstractClusterInvoker<?> invoker, Invocation invocation)
- 指定者:
onMessage在接口中ClusterInterceptor.Listener
-
onError
public void onError(Throwable t, AbstractClusterInvoker<?> invoker, Invocation invocation)
- 指定者:
onError在接口中ClusterInterceptor.Listener
-
-