@Activate public class ConsumerContextClusterInterceptor extends Object implements ClusterInterceptor, ClusterInterceptor.Listener
ClusterInterceptor.Listener| Constructor and Description |
|---|
ConsumerContextClusterInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
void |
after(AbstractClusterInvoker<?> clusterInvoker,
Invocation invocation) |
void |
before(AbstractClusterInvoker<?> invoker,
Invocation invocation) |
void |
onError(Throwable t,
AbstractClusterInvoker<?> invoker,
Invocation invocation) |
void |
onMessage(Result appResponse,
AbstractClusterInvoker<?> invoker,
Invocation invocation) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinterceptpublic void before(AbstractClusterInvoker<?> invoker, Invocation invocation)
before in interface ClusterInterceptorpublic void after(AbstractClusterInvoker<?> clusterInvoker, Invocation invocation)
after in interface ClusterInterceptorpublic void onMessage(Result appResponse, AbstractClusterInvoker<?> invoker, Invocation invocation)
onMessage in interface ClusterInterceptor.Listenerpublic void onError(Throwable t, AbstractClusterInvoker<?> invoker, Invocation invocation)
onError in interface ClusterInterceptor.ListenerCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.