public class ServiceDiscovery extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,DiscoveryConfig> |
reloadFailedDiscoveryConfigs |
| Constructor and Description |
|---|
ServiceDiscovery(ServiceRepository serviceRepository,
ArtemisClientConfig config) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
expired() |
protected List<DiscoveryConfig> |
getReloadDiscoveryConfigs() |
Service |
getService(DiscoveryConfig config) |
protected void |
onInstanceChange(InstanceChange instanceChange) |
protected void |
onServiceChange(Service service) |
void |
registerDiscoveryConfig(DiscoveryConfig config) |
protected void |
reload(DiscoveryConfig... configs) |
protected void |
reload(List<DiscoveryConfig> configs) |
protected void |
subscribe(org.springframework.web.socket.WebSocketSession session) |
protected void |
subscribe(org.springframework.web.socket.WebSocketSession session,
DiscoveryConfig discoveryConfig) |
protected final Map<String,DiscoveryConfig> reloadFailedDiscoveryConfigs
public ServiceDiscovery(ServiceRepository serviceRepository, ArtemisClientConfig config)
public void registerDiscoveryConfig(DiscoveryConfig config)
public Service getService(DiscoveryConfig config)
protected void onServiceChange(Service service)
protected void onInstanceChange(InstanceChange instanceChange)
protected List<DiscoveryConfig> getReloadDiscoveryConfigs()
protected void reload(DiscoveryConfig... configs)
protected void reload(List<DiscoveryConfig> configs)
protected void subscribe(org.springframework.web.socket.WebSocketSession session)
protected void subscribe(org.springframework.web.socket.WebSocketSession session,
DiscoveryConfig discoveryConfig)
protected boolean expired()
Copyright © 2020 org.mydotey. All rights reserved.