public class PropertyBasedEurekaClientConfig extends Object implements com.netflix.discovery.EurekaClientConfig
EurekaClientConfig.
Adapted from Eureka's DefaultEurekaClientConfig
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_ZONE
Default Zone
|
| Constructor and Description |
|---|
PropertyBasedEurekaClientConfig(String namespace,
Map<String,Object> properties) |
public static final String DEFAULT_ZONE
public int getRegistryFetchIntervalSeconds()
getRegistryFetchIntervalSeconds in interface com.netflix.discovery.EurekaClientConfigpublic int getInstanceInfoReplicationIntervalSeconds()
getInstanceInfoReplicationIntervalSeconds in interface com.netflix.discovery.EurekaClientConfigpublic int getInitialInstanceInfoReplicationIntervalSeconds()
getInitialInstanceInfoReplicationIntervalSeconds in interface com.netflix.discovery.EurekaClientConfigpublic int getEurekaServiceUrlPollIntervalSeconds()
getEurekaServiceUrlPollIntervalSeconds in interface com.netflix.discovery.EurekaClientConfigpublic String getProxyHost()
getProxyHost in interface com.netflix.discovery.EurekaClientConfigpublic String getProxyPort()
getProxyPort in interface com.netflix.discovery.EurekaClientConfigpublic String getProxyUserName()
getProxyUserName in interface com.netflix.discovery.EurekaClientConfigpublic String getProxyPassword()
getProxyPassword in interface com.netflix.discovery.EurekaClientConfigpublic boolean shouldGZipContent()
shouldGZipContent in interface com.netflix.discovery.EurekaClientConfigpublic int getEurekaServerReadTimeoutSeconds()
getEurekaServerReadTimeoutSeconds in interface com.netflix.discovery.EurekaClientConfigpublic int getEurekaServerConnectTimeoutSeconds()
getEurekaServerConnectTimeoutSeconds in interface com.netflix.discovery.EurekaClientConfigpublic String getBackupRegistryImpl()
getBackupRegistryImpl in interface com.netflix.discovery.EurekaClientConfigpublic int getEurekaServerTotalConnections()
getEurekaServerTotalConnections in interface com.netflix.discovery.EurekaClientConfigpublic int getEurekaServerTotalConnectionsPerHost()
getEurekaServerTotalConnectionsPerHost in interface com.netflix.discovery.EurekaClientConfigpublic String getEurekaServerURLContext()
getEurekaServerURLContext in interface com.netflix.discovery.EurekaClientConfigpublic String getEurekaServerPort()
getEurekaServerPort in interface com.netflix.discovery.EurekaClientConfigpublic String getEurekaServerDNSName()
getEurekaServerDNSName in interface com.netflix.discovery.EurekaClientConfigpublic boolean shouldUseDnsForFetchingServiceUrls()
shouldUseDnsForFetchingServiceUrls in interface com.netflix.discovery.EurekaClientConfigpublic boolean shouldRegisterWithEureka()
shouldRegisterWithEureka in interface com.netflix.discovery.EurekaClientConfigpublic boolean shouldPreferSameZoneEureka()
shouldPreferSameZoneEureka in interface com.netflix.discovery.EurekaClientConfigpublic boolean allowRedirects()
allowRedirects in interface com.netflix.discovery.EurekaClientConfigpublic boolean shouldLogDeltaDiff()
shouldLogDeltaDiff in interface com.netflix.discovery.EurekaClientConfigpublic boolean shouldDisableDelta()
shouldDisableDelta in interface com.netflix.discovery.EurekaClientConfig@Nullable public String fetchRegistryForRemoteRegions()
fetchRegistryForRemoteRegions in interface com.netflix.discovery.EurekaClientConfigpublic String getRegion()
getRegion in interface com.netflix.discovery.EurekaClientConfigpublic String[] getAvailabilityZones(String region)
getAvailabilityZones in interface com.netflix.discovery.EurekaClientConfigpublic List<String> getEurekaServerServiceUrls(String myZone)
getEurekaServerServiceUrls in interface com.netflix.discovery.EurekaClientConfigpublic boolean shouldFilterOnlyUpInstances()
shouldFilterOnlyUpInstances in interface com.netflix.discovery.EurekaClientConfigpublic int getEurekaConnectionIdleTimeoutSeconds()
getEurekaConnectionIdleTimeoutSeconds in interface com.netflix.discovery.EurekaClientConfigpublic boolean shouldFetchRegistry()
shouldFetchRegistry in interface com.netflix.discovery.EurekaClientConfigpublic String getRegistryRefreshSingleVipAddress()
getRegistryRefreshSingleVipAddress in interface com.netflix.discovery.EurekaClientConfigpublic int getHeartbeatExecutorThreadPoolSize()
getHeartbeatExecutorThreadPoolSize in interface com.netflix.discovery.EurekaClientConfigEurekaClientConfig.getHeartbeatExecutorThreadPoolSize()public int getHeartbeatExecutorExponentialBackOffBound()
getHeartbeatExecutorExponentialBackOffBound in interface com.netflix.discovery.EurekaClientConfigpublic int getCacheRefreshExecutorThreadPoolSize()
getCacheRefreshExecutorThreadPoolSize in interface com.netflix.discovery.EurekaClientConfigEurekaClientConfig.getCacheRefreshExecutorThreadPoolSize()public int getCacheRefreshExecutorExponentialBackOffBound()
getCacheRefreshExecutorExponentialBackOffBound in interface com.netflix.discovery.EurekaClientConfigpublic String getDollarReplacement()
getDollarReplacement in interface com.netflix.discovery.EurekaClientConfigpublic String getEscapeCharReplacement()
getEscapeCharReplacement in interface com.netflix.discovery.EurekaClientConfigpublic boolean shouldOnDemandUpdateStatusChange()
shouldOnDemandUpdateStatusChange in interface com.netflix.discovery.EurekaClientConfigpublic String getEncoderName()
getEncoderName in interface com.netflix.discovery.EurekaClientConfigpublic String getDecoderName()
getDecoderName in interface com.netflix.discovery.EurekaClientConfigpublic String getClientDataAccept()
getClientDataAccept in interface com.netflix.discovery.EurekaClientConfigpublic String getExperimental(String name)
getExperimental in interface com.netflix.discovery.EurekaClientConfigpublic com.netflix.discovery.shared.transport.EurekaTransportConfig getTransportConfig()
getTransportConfig in interface com.netflix.discovery.EurekaClientConfigCopyright © 2019. All Rights Reserved.