public class CloudClient
extends java.lang.Object
构造器和说明 |
---|
CloudClient() |
限定符和类型 | 方法和说明 |
---|---|
static CloudBreakerService |
breaker()
获取 云端断路器服务
|
static CloudConfigService |
config()
获取 云端配置服务
|
static void |
configLoad(java.lang.String groupKeySet)
云端配置服务,加载默认配置
|
static void |
configLoad(java.lang.String group,
java.lang.String key)
云端配置服务,加载默认配置
|
static CloudDiscoveryService |
discovery()
获取 云端发现服务
|
static void |
discoveryPush()
云端发现服务,推送本地服务(即注册)
|
static boolean |
enableBreaker()
是否启用 @CloudBreaker 注解
|
static void |
enableBreaker(boolean enable)
配置:是否启用 @CloudBreaker 注解
|
static boolean |
enableConfig()
是否启用 @CloudConfig 注解
|
static void |
enableConfig(boolean enable)
配置:是否启用 @CloudConfig 注解
|
static boolean |
enableEvent()
是否启用 @CloudEvent 注解
|
static void |
enableEvent(boolean enable)
配置:是否启用 @CloudEvent 注解
|
static boolean |
enableJob()
是否启用 @CloudJob 注解
|
static void |
enableJob(boolean enable)
配置:是否启用 @CloudJob 注解
|
static CloudEventService |
event()
获取 云端事件服务
|
static CloudFileService |
file()
获取 云端文件服务
|
static CloudI18nService |
i18n()
获取 云端国际化服务
|
static CloudIdService |
id()
获取 云端ID服务
|
static CloudIdService |
idService(java.lang.String group,
java.lang.String service)
获取 云端ID服务
|
static CloudJobService |
job()
获取 云端Job服务
|
static CloudListService |
list()
获取 云端名单列表服务
|
static CloudLoadBalanceFactory |
loadBalance()
获取 负载均衡工厂
|
static CloudLoadStrategy |
loadStrategy()
获取 负载策略
|
static CloudLockService |
lock()
获取 云端锁服务
|
static CloudLogService |
log()
获取 云端日志服务
|
static CloudMetricService |
metric()
获取 云端度量服务
|
static CloudTraceService |
trace()
获取 云端链路跟踪服务
|
public static boolean enableConfig()
public static boolean enableEvent()
public static boolean enableBreaker()
public static boolean enableJob()
public static void enableConfig(boolean enable)
public static void enableEvent(boolean enable)
public static void enableBreaker(boolean enable)
public static void enableJob(boolean enable)
public static CloudLoadBalanceFactory loadBalance()
public static CloudLoadStrategy loadStrategy()
public static CloudBreakerService breaker()
public static CloudConfigService config()
public static void configLoad(java.lang.String group, java.lang.String key)
public static void configLoad(java.lang.String groupKeySet)
public static CloudDiscoveryService discovery()
public static void discoveryPush()
public static CloudEventService event()
public static CloudLockService lock()
public static CloudLogService log()
public static CloudTraceService trace()
public static CloudMetricService metric()
public static CloudListService list()
public static CloudFileService file()
public static CloudI18nService i18n()
public static CloudIdService idService(java.lang.String group, java.lang.String service)
public static CloudIdService id()
public static CloudJobService job()