public interface IMicaContext
| Modifier and Type | Method and Description |
|---|---|
String |
get(String ctxKey)
获取上下文中的数据
|
<T> T |
get(String ctxKey,
Function<String,T> function)
获取上下文中的数据
|
String |
getAccountId()
账号id
|
String |
getRequestId()
获取 请求 id
|
default String |
getTenantId()
获取租户id
|
default String |
getVersion()
微服务版本号,用于灰度
|
Copyright © 2024. All rights reserved.