Class MetricsConsumerFilter
java.lang.Object
org.apache.dubbo.metrics.filter.MetricsFilter
org.apache.dubbo.rpc.cluster.filter.support.MetricsConsumerFilter
- All Implemented Interfaces:
BaseFilter,BaseFilter.Listener,ClusterFilter,org.apache.dubbo.rpc.model.ScopeModelAware
@Activate(group="consumer",
order=-2147483548)
public class MetricsConsumerFilter
extends MetricsFilter
implements ClusterFilter, BaseFilter.Listener
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.dubbo.rpc.BaseFilter
BaseFilter.Listener -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioninvoke(Invoker<?> invoker, Invocation invocation) voidonError(Throwable t, Invoker<?> invoker, Invocation invocation) voidonResponse(Result appResponse, Invoker<?> invoker, Invocation invocation) Methods inherited from class org.apache.dubbo.metrics.filter.MetricsFilter
invoke, onError, onResponse, setApplicationModelMethods 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
-
MetricsConsumerFilter
public MetricsConsumerFilter()
-
-
Method Details
-
invoke
- Specified by:
invokein interfaceBaseFilter- Overrides:
invokein classMetricsFilter- Throws:
RpcException
-
onResponse
- Specified by:
onResponsein interfaceBaseFilter.Listener- Overrides:
onResponsein classMetricsFilter
-
onError
- Specified by:
onErrorin interfaceBaseFilter.Listener- Overrides:
onErrorin classMetricsFilter
-