类 ZoneAwareClusterInterceptor
- java.lang.Object
-
- org.apache.dubbo.rpc.cluster.interceptor.ZoneAwareClusterInterceptor
-
- 所有已实现的接口:
ClusterInterceptor
@Activate("cluster:zone-aware") public class ZoneAwareClusterInterceptor extends Object implements ClusterInterceptorDetermines the zone information of current request. active only when url has key 'cluster=zone-aware'
-
-
嵌套类概要
-
从接口继承的嵌套类/接口 org.apache.dubbo.rpc.cluster.interceptor.ClusterInterceptor
ClusterInterceptor.Listener
-
-
构造器概要
构造器 构造器 说明 ZoneAwareClusterInterceptor()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidafter(AbstractClusterInvoker<?> clusterInvoker, Invocation invocation)voidbefore(AbstractClusterInvoker<?> clusterInvoker, Invocation invocation)-
从接口继承的方法 org.apache.dubbo.rpc.cluster.interceptor.ClusterInterceptor
intercept
-
-
-
-
方法详细资料
-
before
public void before(AbstractClusterInvoker<?> clusterInvoker, Invocation invocation)
- 指定者:
before在接口中ClusterInterceptor
-
after
public void after(AbstractClusterInvoker<?> clusterInvoker, Invocation invocation)
- 指定者:
after在接口中ClusterInterceptor
-
-