public class ServiceCallStatCollector extends Object implements ServiceCallResultListener
CONTEXT_KEY_RESULT_LISTENERS| Constructor and Description |
|---|
ServiceCallStatCollector() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
停机释放资源
|
void |
init(SDKContext context)
初始化handler
|
void |
onServiceCallResult(InstanceGauge result)
收到服务上报数据后的回调处理
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetServiceCallResultListenerspublic void init(SDKContext context)
init in interface ServiceCallResultListenercontext - SDK上下文public void onServiceCallResult(InstanceGauge result)
onServiceCallResult in interface ServiceCallResultListenerresult - 上报数据public void destroy()
destroy in interface ServiceCallResultListenerCopyright © 2024. All rights reserved.