@Activate(group="consumer",
onClass="org.apache.dubbo.metrics.collector.DefaultMetricsCollector")
public class MetricsClusterFilter
extends Object
implements ClusterFilter, BaseFilter.Listener, org.apache.dubbo.rpc.model.ScopeModelAware
BaseFilter.Listener| 构造器和说明 |
|---|
MetricsClusterFilter() |
| 限定符和类型 | 方法和说明 |
|---|---|
Result |
invoke(Invoker<?> invoker,
Invocation invocation) |
void |
onError(Throwable t,
Invoker<?> invoker,
Invocation invocation) |
void |
onResponse(Result result,
Invoker<?> invoker,
Invocation invocation) |
void |
setApplicationModel(org.apache.dubbo.rpc.model.ApplicationModel applicationModel) |
setFrameworkModel, setModuleModel, setScopeModelpublic void setApplicationModel(org.apache.dubbo.rpc.model.ApplicationModel applicationModel)
setApplicationModel 在接口中 org.apache.dubbo.rpc.model.ScopeModelAwarepublic Result invoke(Invoker<?> invoker, Invocation invocation) throws RpcException
invoke 在接口中 BaseFilterRpcExceptionpublic void onResponse(Result result, Invoker<?> invoker, Invocation invocation)
onResponse 在接口中 BaseFilter.Listenerpublic void onError(Throwable t, Invoker<?> invoker, Invocation invocation)
onError 在接口中 BaseFilter.ListenerCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.