Package org.apache.dubbo.metrics.filter
Class MetricsFilter
java.lang.Object
org.apache.dubbo.metrics.filter.MetricsFilter
- All Implemented Interfaces:
org.apache.dubbo.rpc.model.ScopeModelAware
- Direct Known Subclasses:
MetricsProviderFilter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.dubbo.rpc.Resultinvoke(org.apache.dubbo.rpc.Invoker<?> invoker, org.apache.dubbo.rpc.Invocation invocation) org.apache.dubbo.rpc.Resultinvoke(org.apache.dubbo.rpc.Invoker<?> invoker, org.apache.dubbo.rpc.Invocation invocation, boolean isProvider) voidonError(Throwable t, org.apache.dubbo.rpc.Invoker<?> invoker, org.apache.dubbo.rpc.Invocation invocation) voidonError(Throwable t, org.apache.dubbo.rpc.Invoker<?> invoker, org.apache.dubbo.rpc.Invocation invocation, boolean isProvider) voidonResponse(org.apache.dubbo.rpc.Result result, org.apache.dubbo.rpc.Invoker<?> invoker, org.apache.dubbo.rpc.Invocation invocation) voidonResponse(org.apache.dubbo.rpc.Result result, org.apache.dubbo.rpc.Invoker<?> invoker, org.apache.dubbo.rpc.Invocation invocation, boolean isProvider) voidsetApplicationModel(org.apache.dubbo.rpc.model.ApplicationModel applicationModel) Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.dubbo.rpc.model.ScopeModelAware
setFrameworkModel, setModuleModel, setScopeModel
-
Constructor Details
-
MetricsFilter
public MetricsFilter()
-
-
Method Details
-
setApplicationModel
public void setApplicationModel(org.apache.dubbo.rpc.model.ApplicationModel applicationModel) - Specified by:
setApplicationModelin interfaceorg.apache.dubbo.rpc.model.ScopeModelAware
-
invoke
public org.apache.dubbo.rpc.Result invoke(org.apache.dubbo.rpc.Invoker<?> invoker, org.apache.dubbo.rpc.Invocation invocation) throws org.apache.dubbo.rpc.RpcException - Throws:
org.apache.dubbo.rpc.RpcException
-
invoke
public org.apache.dubbo.rpc.Result invoke(org.apache.dubbo.rpc.Invoker<?> invoker, org.apache.dubbo.rpc.Invocation invocation, boolean isProvider) throws org.apache.dubbo.rpc.RpcException - Throws:
org.apache.dubbo.rpc.RpcException
-
onResponse
public void onResponse(org.apache.dubbo.rpc.Result result, org.apache.dubbo.rpc.Invoker<?> invoker, org.apache.dubbo.rpc.Invocation invocation) -
onResponse
public void onResponse(org.apache.dubbo.rpc.Result result, org.apache.dubbo.rpc.Invoker<?> invoker, org.apache.dubbo.rpc.Invocation invocation, boolean isProvider) -
onError
public void onError(Throwable t, org.apache.dubbo.rpc.Invoker<?> invoker, org.apache.dubbo.rpc.Invocation invocation) -
onError
public void onError(Throwable t, org.apache.dubbo.rpc.Invoker<?> invoker, org.apache.dubbo.rpc.Invocation invocation, boolean isProvider)
-