类 BaseEngine
java.lang.Object
com.tencent.polaris.api.control.Destroyable
com.tencent.polaris.client.api.BaseEngine
public abstract class BaseEngine extends Destroyable
基础构建引擎,API会基于该类进行实现
- 作者:
- andrewshan
- Date:
- 2019/8/21
-
构造器概要
构造器 构造器 说明 BaseEngine(SDKContext sdkContext) -
方法概要
修饰符和类型 方法 说明 static BaseEnginegetEngine(ValueContext valueContext)SDKContextgetSDKContext()voidinit()voidreportServerCall(ServiceCallResult serviceCallResult, TargetServer targetServer, java.lang.String method)上报内部服务调用结果从类继承的方法 com.tencent.polaris.api.control.Destroyable
destroy, getName, isDestroyed从类继承的方法 java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
构造器详细资料
-
BaseEngine
-
-
方法详细资料
-
init
- 抛出:
PolarisException
-
getSDKContext
-
getEngine
-
reportServerCall
public void reportServerCall(ServiceCallResult serviceCallResult, TargetServer targetServer, java.lang.String method)上报内部服务调用结果- 参数:
serviceCallResult- 服务调用结果targetServer- 目标服务端method- 方法
-