| Constructor and Description |
|---|
CloudDiscoveryServiceWaterImpl(org.noear.solon.cloud.CloudProps cloudProps) |
| Modifier and Type | Method and Description |
|---|---|
void |
attention(String group,
String service,
org.noear.solon.cloud.CloudDiscoveryHandler observer) |
void |
deregister(String group,
org.noear.solon.cloud.model.Instance instance) |
org.noear.solon.cloud.model.Discovery |
find(String group,
String service) |
Collection<String> |
findServices(String group) |
long |
getRefreshInterval()
健康检测刷新间隔时间(仅当isFilesMode时有效)
|
void |
onUpdate(String group,
String service) |
void |
register(String group,
org.noear.solon.cloud.model.Instance instance) |
void |
registerState(String group,
org.noear.solon.cloud.model.Instance instance,
boolean health) |
void |
run() |
cancel, scheduledExecutionTimepublic CloudDiscoveryServiceWaterImpl(org.noear.solon.cloud.CloudProps cloudProps)
public long getRefreshInterval()
public void register(String group, org.noear.solon.cloud.model.Instance instance)
register in interface org.noear.solon.cloud.service.CloudDiscoveryServicepublic void registerState(String group, org.noear.solon.cloud.model.Instance instance, boolean health)
registerState in interface org.noear.solon.cloud.service.CloudDiscoveryServicepublic void deregister(String group, org.noear.solon.cloud.model.Instance instance)
deregister in interface org.noear.solon.cloud.service.CloudDiscoveryServicepublic org.noear.solon.cloud.model.Discovery find(String group, String service)
find in interface org.noear.solon.cloud.service.CloudDiscoveryServicepublic Collection<String> findServices(String group)
findServices in interface org.noear.solon.cloud.service.CloudDiscoveryServicepublic void attention(String group, String service, org.noear.solon.cloud.CloudDiscoveryHandler observer)
attention in interface org.noear.solon.cloud.service.CloudDiscoveryServiceCopyright © 2025. All rights reserved.