public class MethodMetricsInterceptor extends Object
| 构造器和说明 |
|---|
MethodMetricsInterceptor(MethodMetricsSampler sampler) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
afterMethod(org.apache.dubbo.rpc.Invocation invocation,
org.apache.dubbo.rpc.Result result) |
void |
beforeMethod(org.apache.dubbo.rpc.Invocation invocation) |
void |
handleMethodException(org.apache.dubbo.rpc.Invocation invocation,
Throwable throwable) |
public MethodMetricsInterceptor(MethodMetricsSampler sampler)
public void beforeMethod(org.apache.dubbo.rpc.Invocation invocation)
public void afterMethod(org.apache.dubbo.rpc.Invocation invocation,
org.apache.dubbo.rpc.Result result)
public void handleMethodException(org.apache.dubbo.rpc.Invocation invocation,
Throwable throwable)
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.