@Activate(group="provider", value="executes") public class ExecuteLimitFilter extends Object implements Filter, Filter.Listener
Filter.Listener| Constructor and Description |
|---|
ExecuteLimitFilter() |
| Modifier and Type | Method and Description |
|---|---|
Result |
invoke(Invoker<?> invoker,
Invocation invocation)
Make sure call invoker.invoke() in your implementation.
|
void |
onError(Throwable t,
Invoker<?> invoker,
Invocation invocation) |
void |
onResponse(Result appResponse,
Invoker<?> invoker,
Invocation invocation) |
public Result invoke(Invoker<?> invoker, Invocation invocation) throws RpcException
Filterinvoke in interface FilterRpcExceptionpublic void onResponse(Result appResponse, Invoker<?> invoker, Invocation invocation)
onResponse in interface Filter.Listenerpublic void onError(Throwable t, Invoker<?> invoker, Invocation invocation)
onError in interface Filter.ListenerCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.