@Activate(group="provider", order=-1) public class MetricsFilter extends Object implements Filter, BaseFilter.Listener, ScopeModelAware
BaseFilter.Listener| Constructor and Description |
|---|
MetricsFilter() |
| Modifier and Type | Method and Description |
|---|---|
Result |
invoke(Invoker<?> invoker,
Invocation invocation) |
void |
onError(Throwable t,
Invoker<?> invoker,
Invocation invocation) |
void |
onResponse(Result result,
Invoker<?> invoker,
Invocation invocation) |
void |
setApplicationModel(ApplicationModel applicationModel) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetFrameworkModel, setModuleModel, setScopeModelpublic void setApplicationModel(ApplicationModel applicationModel)
setApplicationModel in interface ScopeModelAwarepublic Result invoke(Invoker<?> invoker, Invocation invocation) throws RpcException
invoke in interface BaseFilterRpcExceptionpublic void onResponse(Result result, Invoker<?> invoker, Invocation invocation)
onResponse in interface BaseFilter.Listenerpublic void onError(Throwable t, Invoker<?> invoker, Invocation invocation)
onError in interface BaseFilter.ListenerCopyright © 2011–2022 The Apache Software Foundation. All rights reserved.