Interface ClusterInterceptor
Deprecated.
Different from
Filter, ClusterInterceptor works at the outmost layer, before one specific address/invoker is picked.-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoidafter(AbstractClusterInvoker<?> clusterInvoker, Invocation invocation) Deprecated.voidbefore(AbstractClusterInvoker<?> clusterInvoker, Invocation invocation) Deprecated.default Resultintercept(AbstractClusterInvoker<?> clusterInvoker, Invocation invocation) Deprecated.Override this method orbefore(AbstractClusterInvoker, Invocation)andafter(AbstractClusterInvoker, Invocation)methods to add your own logic expected to be executed before and after invoke.
-
Method Details
-
before
Deprecated. -
after
Deprecated. -
intercept
default Result intercept(AbstractClusterInvoker<?> clusterInvoker, Invocation invocation) throws RpcException Deprecated.Override this method orbefore(AbstractClusterInvoker, Invocation)andafter(AbstractClusterInvoker, Invocation)methods to add your own logic expected to be executed before and after invoke.- Parameters:
clusterInvoker-invocation-- Returns:
- Throws:
RpcException
-