索引
所有类|所有程序包
A
- addError(ServiceEventKey, Throwable) - 类 中的方法com.tencent.polaris.client.flow.ResourcesResponse
-
添加错误信息
- addServiceInstances(ServiceEventKey, ServiceInstances) - 类 中的方法com.tencent.polaris.client.flow.ResourcesResponse
-
添加服务实例应答
- addServiceRule(ServiceEventKey, ServiceRule) - 类 中的方法com.tencent.polaris.client.flow.ResourcesResponse
-
添加规则应答
- addServices(ServiceEventKey, Services) - 类 中的方法com.tencent.polaris.client.flow.ResourcesResponse
-
添加服务应答
B
- BaseEngine - com.tencent.polaris.client.api中的类
-
基础构建引擎,API会基于该类进行实现
- BaseEngine(SDKContext) - 类 的构造器com.tencent.polaris.client.api.BaseEngine
- BaseFlow - com.tencent.polaris.client.flow中的类
-
同步调用流程
- BaseFlow() - 类 的构造器com.tencent.polaris.client.flow.BaseFlow
- buildFlowControlParam(RequestBaseEntity, Configuration, FlowControlParam) - 类 中的静态方法com.tencent.polaris.client.flow.BaseFlow
-
构建流程控制参数
C
- cancel(boolean) - 类 中的方法com.tencent.polaris.client.flow.GetResourcesInvoker
- close() - 类 中的方法com.tencent.polaris.client.api.SDKContext
- com.tencent.polaris.client.api - 程序包 com.tencent.polaris.client.api
- com.tencent.polaris.client.flow - 程序包 com.tencent.polaris.client.flow
- commonGetOneInstance(Extensions, ServiceKey, List<String>, String, String, String) - 类 中的静态方法com.tencent.polaris.client.flow.BaseFlow
-
通用获取单个服务实例的方法,用于SDK内部调用
- complete(ServiceEventKey) - 类 中的方法com.tencent.polaris.client.flow.GetResourcesInvoker
- completeExceptionally(ServiceEventKey, Throwable) - 类 中的方法com.tencent.polaris.client.flow.GetResourcesInvoker
- CONTEXT_KEY_RESULT_LISTENERS - 接口 中的静态变量com.tencent.polaris.client.api.ServiceCallResultListener
-
作为KEY存放在context中进行索引
D
- DefaultFlowControlParam - com.tencent.polaris.client.flow中的类
- DefaultFlowControlParam() - 类 的构造器com.tencent.polaris.client.flow.DefaultFlowControlParam
- DefaultFlowControlParam(APIConfig) - 类 的构造器com.tencent.polaris.client.flow.DefaultFlowControlParam
- DefaultServiceResourceProvider - com.tencent.polaris.client.flow中的类
- DefaultServiceResourceProvider(Extensions) - 类 的构造器com.tencent.polaris.client.flow.DefaultServiceResourceProvider
- destroy() - 接口 中的方法com.tencent.polaris.client.api.ServiceCallResultListener
-
停机释放资源
F
- FlowControlParam - com.tencent.polaris.client.flow中的接口
-
流程控制参数
G
- get() - 类 中的方法com.tencent.polaris.client.flow.GetResourcesInvoker
- get(long, TimeUnit) - 类 中的方法com.tencent.polaris.client.flow.GetResourcesInvoker
- getAllServiceInstances() - 类 中的方法com.tencent.polaris.client.flow.ResourcesResponse
-
获取所有的实例应答缓存
- getAllServiceRules() - 类 中的方法com.tencent.polaris.client.flow.ResourcesResponse
-
获取所有的规则缓应答缓存
- getConfig() - 类 中的方法com.tencent.polaris.client.api.SDKContext
- getEngine(ValueContext) - 类 中的静态方法com.tencent.polaris.client.api.BaseEngine
- getErrors() - 类 中的方法com.tencent.polaris.client.flow.ResourcesResponse
-
返回所有的错误
- getExtensions() - 类 中的方法com.tencent.polaris.client.api.SDKContext
- getMaxRetry() - 类 中的方法com.tencent.polaris.client.flow.DefaultFlowControlParam
- getMaxRetry() - 接口 中的方法com.tencent.polaris.client.flow.FlowControlParam
-
流程最大重试次数
- getPlugins() - 类 中的方法com.tencent.polaris.client.api.SDKContext
- GetResourcesInvoker - com.tencent.polaris.client.flow中的类
-
获取资源的回调
- GetResourcesInvoker(ServiceEventKeysProvider, Extensions, boolean, boolean) - 类 的构造器com.tencent.polaris.client.flow.GetResourcesInvoker
- GetResourcesInvoker.ResourcesListener - com.tencent.polaris.client.flow中的接口
-
资源回调监听
- getRetryIntervalMs() - 类 中的方法com.tencent.polaris.client.flow.DefaultFlowControlParam
- getRetryIntervalMs() - 接口 中的方法com.tencent.polaris.client.flow.FlowControlParam
-
重试间隔时间
- getSDKContext() - 类 中的方法com.tencent.polaris.client.api.BaseEngine
- getServerServices() - 类 中的方法com.tencent.polaris.client.api.SDKContext
- getServiceCallResultListeners(SDKContext) - 接口 中的静态方法com.tencent.polaris.client.api.ServiceCallResultListener
-
从全局变量中获取监听器数组
- getServiceInstances(ServiceEventKey) - 类 中的方法com.tencent.polaris.client.flow.ResourcesResponse
-
获取服务实例应答对象
- getServiceInstances(ServiceKey) - 类 中的方法com.tencent.polaris.client.flow.DefaultServiceResourceProvider
- getServiceRule(ServiceEventKey) - 类 中的方法com.tencent.polaris.client.flow.DefaultServiceResourceProvider
- getServiceRule(ServiceEventKey) - 类 中的方法com.tencent.polaris.client.flow.ResourcesResponse
-
获取规则应答对象
- getServices(ServiceEventKey) - 类 中的方法com.tencent.polaris.client.flow.ResourcesResponse
-
获取服务列表应答对象
- getTimeoutMs() - 类 中的方法com.tencent.polaris.client.flow.DefaultFlowControlParam
- getTimeoutMs() - 接口 中的方法com.tencent.polaris.client.flow.FlowControlParam
-
流程超时时间
- getValueContext() - 类 中的方法com.tencent.polaris.client.api.SDKContext
I
- init() - 类 中的方法com.tencent.polaris.client.api.BaseEngine
- init() - 类 中的方法com.tencent.polaris.client.api.SDKContext
- init(SDKContext) - 接口 中的方法com.tencent.polaris.client.api.ServiceCallResultListener
-
初始化handler
- initContext() - 类 中的静态方法com.tencent.polaris.client.api.SDKContext
-
通过默认配置初始化SDKContext
- initContextByConfig(Configuration) - 类 中的静态方法com.tencent.polaris.client.api.SDKContext
-
通过配置对象初始化SDK上下文
- isCancelled() - 类 中的方法com.tencent.polaris.client.flow.GetResourcesInvoker
- isDone() - 类 中的方法com.tencent.polaris.client.flow.GetResourcesInvoker
O
- onComplete(ResourcesResponse) - 接口 中的方法com.tencent.polaris.client.flow.GetResourcesInvoker.ResourcesListener
-
当调用完成后回调
- onServiceCallResult(InstanceGauge) - 接口 中的方法com.tencent.polaris.client.api.ServiceCallResultListener
-
收到服务上报数据后的回调处理
P
- parseHost(Configuration) - 类 中的静态方法com.tencent.polaris.client.api.SDKContext
- parseServerConnectorProtocol(Configuration) - 类 中的静态方法com.tencent.polaris.client.api.SDKContext
-
Get protocol of server connector, such as:
DefaultPlugins.SERVER_CONNECTOR_COMPOSITEDefaultPlugins.SERVER_CONNECTOR_GRPCDefaultPlugins.SERVER_CONNECTOR_CONSUL - processLoadBalance(LoadBalancer, Criteria, ServiceInstances) - 类 中的静态方法com.tencent.polaris.client.flow.BaseFlow
- processServiceRouters(RouteInfo, ServiceInstances, RouterChainGroup) - 类 中的静态方法com.tencent.polaris.client.flow.BaseFlow
-
处理服务路由
R
- registerDestroyHook(Destroyable) - 类 中的方法com.tencent.polaris.client.api.SDKContext
- reportServerCall(ServiceCallResult, TargetServer, String) - 类 中的方法com.tencent.polaris.client.api.BaseEngine
-
上报内部服务调用结果
- ResourcesResponse - com.tencent.polaris.client.flow中的类
-
Response for resources query request.
- ResourcesResponse() - 类 的构造器com.tencent.polaris.client.flow.ResourcesResponse
S
- SDKContext - com.tencent.polaris.client.api中的类
-
SDK初始化相关的上下文信息
- SDKContext(Configuration, Manager, ValueContext) - 类 的构造器com.tencent.polaris.client.api.SDKContext
-
构造器
- ServiceCallResultListener - com.tencent.polaris.client.api中的接口
-
服务上报数据处理器统一接口
- setMaxRetry(int) - 类 中的方法com.tencent.polaris.client.flow.DefaultFlowControlParam
- setMaxRetry(int) - 接口 中的方法com.tencent.polaris.client.flow.FlowControlParam
-
设置最大重试次数
- setRetryIntervalMs(long) - 类 中的方法com.tencent.polaris.client.flow.DefaultFlowControlParam
- setRetryIntervalMs(long) - 接口 中的方法com.tencent.polaris.client.flow.FlowControlParam
-
设置重试间隔
- setTimeoutMs(long) - 类 中的方法com.tencent.polaris.client.flow.DefaultFlowControlParam
- setTimeoutMs(long) - 接口 中的方法com.tencent.polaris.client.flow.FlowControlParam
-
设置流程超时时间
- syncGetResources(Extensions, boolean, ServiceEventKeysProvider, FlowControlParam) - 类 中的静态方法com.tencent.polaris.client.flow.BaseFlow
-
同步拉取资源数据
所有类|所有程序包