JavaScript is disabled on your browser.
Skip navigation links
Package
Class
Use
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes
C
E
F
G
I
M
R
S
V
C
com.tencent.polaris.plugins.router.metadata
- package com.tencent.polaris.plugins.router.metadata
E
enable(RouteInfo, ServiceMetadata)
- Method in class com.tencent.polaris.plugins.router.metadata.
MetadataRouter
F
FailOverType
- Enum in
com.tencent.polaris.plugins.router.metadata
G
getAspect()
- Method in class com.tencent.polaris.plugins.router.metadata.
MetadataRouter
getConfig()
- Method in class com.tencent.polaris.plugins.router.metadata.
MetadataRouter
getMetadataFailOverType()
- Method in class com.tencent.polaris.plugins.router.metadata.
MetadataRouterConfig
getName()
- Method in class com.tencent.polaris.plugins.router.metadata.
MetadataRouter
getPluginConfigClazz()
- Method in class com.tencent.polaris.plugins.router.metadata.
MetadataRouter
getType()
- Method in class com.tencent.polaris.plugins.router.metadata.
MetadataRouter
I
init(InitContext)
- Method in class com.tencent.polaris.plugins.router.metadata.
MetadataRouter
M
MetadataRouter
- Class in
com.tencent.polaris.plugins.router.metadata
正常场景:选出的实例子集不为空,那么优先返回健康子集,如果全部不健康则进行全死全活返回不健康子集。 异常场景:需要根据GetOneInstanceRequest的请求策略进行降级决策 不降级(默认):返回未找到实例错误 返回所有节点:优先返回服务下的健康子集,如果全部不健康则全死全活返回不健康子集 返回实例元数据不包含请求metadata的key的节点:优先返回筛选出的健康子集,如果全部不健康则返回不健康子集 例如:ip1 set=1 ; ip2 set=2 ; ip3 ; 请求时 set=0 返回的 ip3(这个时候只判断key) 降级使用指定metadata进行实例筛选。(未实现)
MetadataRouter()
- Constructor for class com.tencent.polaris.plugins.router.metadata.
MetadataRouter
MetadataRouterConfig
- Class in
com.tencent.polaris.plugins.router.metadata
元数据路由的配置
MetadataRouterConfig()
- Constructor for class com.tencent.polaris.plugins.router.metadata.
MetadataRouterConfig
R
router(RouteInfo, ServiceInstances)
- Method in class com.tencent.polaris.plugins.router.metadata.
MetadataRouter
ROUTER_TYPE_METADATA
- Static variable in class com.tencent.polaris.plugins.router.metadata.
MetadataRouter
S
setDefault(Object)
- Method in class com.tencent.polaris.plugins.router.metadata.
MetadataRouterConfig
setMetadataFailOverType(FailOverType)
- Method in class com.tencent.polaris.plugins.router.metadata.
MetadataRouterConfig
V
valueOf(String)
- Static method in enum com.tencent.polaris.plugins.router.metadata.
FailOverType
Returns the enum constant of this type with the specified name.
values()
- Static method in enum com.tencent.polaris.plugins.router.metadata.
FailOverType
Returns an array containing the constants of this enum type, in the order they are declared.
verify()
- Method in class com.tencent.polaris.plugins.router.metadata.
MetadataRouterConfig
C
E
F
G
I
M
R
S
V
Skip navigation links
Package
Class
Use
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes
Copyright © 2024. All rights reserved.