public abstract class AbstractInvocationMeters extends Object
| Constructor and Description |
|---|
AbstractInvocationMeters(Registry registry) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract AbstractInvocationMeter |
createMeter(Id id,
Invocation invocation,
org.apache.servicecomb.swagger.invocation.Response response) |
protected AbstractInvocationMeter |
getOrCreateMeters(Invocation invocation,
org.apache.servicecomb.swagger.invocation.Response response) |
void |
onInvocationFinish(InvocationFinishEvent event) |
void |
onInvocationStart(InvocationStartEvent event) |
protected Registry registry
public AbstractInvocationMeters(Registry registry)
protected AbstractInvocationMeter getOrCreateMeters(Invocation invocation, org.apache.servicecomb.swagger.invocation.Response response)
protected abstract AbstractInvocationMeter createMeter(Id id, Invocation invocation, org.apache.servicecomb.swagger.invocation.Response response)
public void onInvocationStart(InvocationStartEvent event)
public void onInvocationFinish(InvocationFinishEvent event)
Copyright © 2017–2018 The Apache Software Foundation. All rights reserved.