public class CloudEurekaClient
extends com.netflix.discovery.DiscoveryClient
Constructor and Description |
---|
CloudEurekaClient(com.netflix.appinfo.ApplicationInfoManager applicationInfoManager,
com.netflix.discovery.EurekaClientConfig config,
com.netflix.discovery.AbstractDiscoveryClientOptionalArgs<?> args,
org.springframework.context.ApplicationEventPublisher publisher) |
CloudEurekaClient(com.netflix.appinfo.ApplicationInfoManager applicationInfoManager,
com.netflix.discovery.EurekaClientConfig config,
org.springframework.context.ApplicationEventPublisher publisher) |
Modifier and Type | Method and Description |
---|---|
void |
cancelOverrideStatus(com.netflix.appinfo.InstanceInfo info) |
com.netflix.appinfo.ApplicationInfoManager |
getApplicationInfoManager() |
com.netflix.appinfo.InstanceInfo |
getInstanceInfo(String appname,
String instanceId) |
protected void |
onCacheRefreshed() |
void |
setStatus(com.netflix.appinfo.InstanceInfo.InstanceStatus newStatus,
com.netflix.appinfo.InstanceInfo info) |
fireEvent, getAllKnownRegions, getApplication, getApplications, getApplications, getApplicationsForARegion, getDiscoveryServiceUrls, getEC2DiscoveryUrlsFromZone, getEurekaClientConfig, getEurekaServiceUrlsFromConfig, getHealthCheckHandler, getInstanceRemoteStatus, getInstancesById, getInstancesByVipAddress, getInstancesByVipAddress, getInstancesByVipAddressAndAppName, getLastSuccessfulHeartbeatTimePeriod, getLastSuccessfulRegistryFetchTimePeriod, getNextServerFromEureka, getRegion, getServiceUrlsFromConfig, getServiceUrlsFromDNS, getStats, getZone, localRegistrySize, newBackupRegistryInstance, onRemoteStatusChanged, registerEventListener, registerHealthCheck, registerHealthCheckCallback, shutdown, unregisterEventListener
public CloudEurekaClient(com.netflix.appinfo.ApplicationInfoManager applicationInfoManager, com.netflix.discovery.EurekaClientConfig config, org.springframework.context.ApplicationEventPublisher publisher)
public CloudEurekaClient(com.netflix.appinfo.ApplicationInfoManager applicationInfoManager, com.netflix.discovery.EurekaClientConfig config, com.netflix.discovery.AbstractDiscoveryClientOptionalArgs<?> args, org.springframework.context.ApplicationEventPublisher publisher)
public com.netflix.appinfo.ApplicationInfoManager getApplicationInfoManager()
getApplicationInfoManager
in interface com.netflix.discovery.EurekaClient
getApplicationInfoManager
in class com.netflix.discovery.DiscoveryClient
public void cancelOverrideStatus(com.netflix.appinfo.InstanceInfo info)
public com.netflix.appinfo.InstanceInfo getInstanceInfo(String appname, String instanceId)
public void setStatus(com.netflix.appinfo.InstanceInfo.InstanceStatus newStatus, com.netflix.appinfo.InstanceInfo info)
protected void onCacheRefreshed()
onCacheRefreshed
in class com.netflix.discovery.DiscoveryClient
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.