@ConfigurationProperties(value="eureka.server") public class EurekaServerConfigBean extends Object implements com.netflix.eureka.EurekaServerConfig
| Modifier and Type | Field and Description |
|---|---|
static String |
PREFIX
Eureka server configuration properties prefix.
|
| Constructor and Description |
|---|
EurekaServerConfigBean() |
public static final String PREFIX
public boolean shouldEnableSelfPreservation()
shouldEnableSelfPreservation in interface com.netflix.eureka.EurekaServerConfigpublic boolean shouldDisableDelta()
shouldDisableDelta in interface com.netflix.eureka.EurekaServerConfigpublic boolean shouldSyncWhenTimestampDiffers()
shouldSyncWhenTimestampDiffers in interface com.netflix.eureka.EurekaServerConfigpublic boolean shouldPrimeAwsReplicaConnections()
shouldPrimeAwsReplicaConnections in interface com.netflix.eureka.EurekaServerConfigpublic boolean shouldDisableDeltaForRemoteRegions()
shouldDisableDeltaForRemoteRegions in interface com.netflix.eureka.EurekaServerConfigpublic boolean shouldGZipContentFromRemoteRegion()
shouldGZipContentFromRemoteRegion in interface com.netflix.eureka.EurekaServerConfigpublic Set<String> getRemoteRegionAppWhitelist(String regionName)
getRemoteRegionAppWhitelist in interface com.netflix.eureka.EurekaServerConfigpublic boolean disableTransparentFallbackToOtherRegion()
disableTransparentFallbackToOtherRegion in interface com.netflix.eureka.EurekaServerConfigpublic boolean shouldBatchReplication()
shouldBatchReplication in interface com.netflix.eureka.EurekaServerConfigpublic String getMyUrl()
getMyUrl in interface com.netflix.eureka.EurekaServerConfigpublic void setMyUrl(String myUrl)
public boolean shouldLogIdentityHeaders()
shouldLogIdentityHeaders in interface com.netflix.eureka.EurekaServerConfigpublic String getJsonCodecName()
getJsonCodecName in interface com.netflix.eureka.EurekaServerConfigpublic String getXmlCodecName()
getXmlCodecName in interface com.netflix.eureka.EurekaServerConfigpublic boolean shouldUseReadOnlyResponseCache()
shouldUseReadOnlyResponseCache in interface com.netflix.eureka.EurekaServerConfigpublic boolean shouldEnableReplicatedRequestCompression()
shouldEnableReplicatedRequestCompression in interface com.netflix.eureka.EurekaServerConfigpublic String getExperimental(String name)
getExperimental in interface com.netflix.eureka.EurekaServerConfigpublic int getInitialCapacityOfResponseCache()
getInitialCapacityOfResponseCache in interface com.netflix.eureka.EurekaServerConfigpublic void setInitialCapacityOfResponseCache(int initialCapacityOfResponseCache)
public int getHealthStatusMinNumberOfAvailablePeers()
getHealthStatusMinNumberOfAvailablePeers in interface com.netflix.eureka.EurekaServerConfigpublic org.springframework.core.env.PropertyResolver getPropertyResolver()
public void setPropertyResolver(org.springframework.core.env.PropertyResolver propertyResolver)
public String getAWSAccessId()
getAWSAccessId in interface com.netflix.eureka.EurekaServerConfigpublic void setAWSAccessId(String aWSAccessId)
public String getAWSSecretKey()
getAWSSecretKey in interface com.netflix.eureka.EurekaServerConfigpublic void setAWSSecretKey(String aWSSecretKey)
public int getEIPBindRebindRetries()
getEIPBindRebindRetries in interface com.netflix.eureka.EurekaServerConfigpublic void setEIPBindRebindRetries(int eIPBindRebindRetries)
public int getEIPBindingRetryIntervalMs()
getEIPBindingRetryIntervalMs in interface com.netflix.eureka.EurekaServerConfigpublic void setEIPBindingRetryIntervalMs(int eIPBindingRetryIntervalMs)
public int getEIPBindingRetryIntervalMsWhenUnbound()
getEIPBindingRetryIntervalMsWhenUnbound in interface com.netflix.eureka.EurekaServerConfigpublic void setEIPBindingRetryIntervalMsWhenUnbound(int eIPBindingRetryIntervalMsWhenUnbound)
public boolean isEnableSelfPreservation()
public void setEnableSelfPreservation(boolean enableSelfPreservation)
public double getRenewalPercentThreshold()
getRenewalPercentThreshold in interface com.netflix.eureka.EurekaServerConfigpublic void setRenewalPercentThreshold(double renewalPercentThreshold)
public int getRenewalThresholdUpdateIntervalMs()
getRenewalThresholdUpdateIntervalMs in interface com.netflix.eureka.EurekaServerConfigpublic int getExpectedClientRenewalIntervalSeconds()
getExpectedClientRenewalIntervalSeconds in interface com.netflix.eureka.EurekaServerConfigpublic void setExpectedClientRenewalIntervalSeconds(int expectedClientRenewalIntervalSeconds)
public void setRenewalThresholdUpdateIntervalMs(int renewalThresholdUpdateIntervalMs)
public int getPeerEurekaNodesUpdateIntervalMs()
getPeerEurekaNodesUpdateIntervalMs in interface com.netflix.eureka.EurekaServerConfigpublic void setPeerEurekaNodesUpdateIntervalMs(int peerEurekaNodesUpdateIntervalMs)
public int getNumberOfReplicationRetries()
getNumberOfReplicationRetries in interface com.netflix.eureka.EurekaServerConfigpublic void setNumberOfReplicationRetries(int numberOfReplicationRetries)
public int getPeerEurekaStatusRefreshTimeIntervalMs()
getPeerEurekaStatusRefreshTimeIntervalMs in interface com.netflix.eureka.EurekaServerConfigpublic void setPeerEurekaStatusRefreshTimeIntervalMs(int peerEurekaStatusRefreshTimeIntervalMs)
public int getWaitTimeInMsWhenSyncEmpty()
getWaitTimeInMsWhenSyncEmpty in interface com.netflix.eureka.EurekaServerConfigpublic void setWaitTimeInMsWhenSyncEmpty(int waitTimeInMsWhenSyncEmpty)
public int getPeerNodeConnectTimeoutMs()
getPeerNodeConnectTimeoutMs in interface com.netflix.eureka.EurekaServerConfigpublic void setPeerNodeConnectTimeoutMs(int peerNodeConnectTimeoutMs)
public int getPeerNodeReadTimeoutMs()
getPeerNodeReadTimeoutMs in interface com.netflix.eureka.EurekaServerConfigpublic void setPeerNodeReadTimeoutMs(int peerNodeReadTimeoutMs)
public int getPeerNodeTotalConnections()
getPeerNodeTotalConnections in interface com.netflix.eureka.EurekaServerConfigpublic void setPeerNodeTotalConnections(int peerNodeTotalConnections)
public int getPeerNodeTotalConnectionsPerHost()
getPeerNodeTotalConnectionsPerHost in interface com.netflix.eureka.EurekaServerConfigpublic void setPeerNodeTotalConnectionsPerHost(int peerNodeTotalConnectionsPerHost)
public int getPeerNodeConnectionIdleTimeoutSeconds()
getPeerNodeConnectionIdleTimeoutSeconds in interface com.netflix.eureka.EurekaServerConfigpublic void setPeerNodeConnectionIdleTimeoutSeconds(int peerNodeConnectionIdleTimeoutSeconds)
public long getRetentionTimeInMSInDeltaQueue()
getRetentionTimeInMSInDeltaQueue in interface com.netflix.eureka.EurekaServerConfigpublic void setRetentionTimeInMSInDeltaQueue(long retentionTimeInMSInDeltaQueue)
public long getDeltaRetentionTimerIntervalInMs()
getDeltaRetentionTimerIntervalInMs in interface com.netflix.eureka.EurekaServerConfigpublic void setDeltaRetentionTimerIntervalInMs(long deltaRetentionTimerIntervalInMs)
public long getEvictionIntervalTimerInMs()
getEvictionIntervalTimerInMs in interface com.netflix.eureka.EurekaServerConfigpublic boolean shouldUseAwsAsgApi()
shouldUseAwsAsgApi in interface com.netflix.eureka.EurekaServerConfigpublic void setUseAwsAsgApi(boolean useAwsAsgApi)
public void setEvictionIntervalTimerInMs(long evictionIntervalTimerInMs)
public int getASGQueryTimeoutMs()
getASGQueryTimeoutMs in interface com.netflix.eureka.EurekaServerConfigpublic void setASGQueryTimeoutMs(int aSGQueryTimeoutMs)
public long getASGUpdateIntervalMs()
getASGUpdateIntervalMs in interface com.netflix.eureka.EurekaServerConfigpublic void setASGUpdateIntervalMs(long aSGUpdateIntervalMs)
public long getASGCacheExpiryTimeoutMs()
getASGCacheExpiryTimeoutMs in interface com.netflix.eureka.EurekaServerConfigpublic void setASGCacheExpiryTimeoutMs(long aSGCacheExpiryTimeoutMs)
public long getResponseCacheAutoExpirationInSeconds()
getResponseCacheAutoExpirationInSeconds in interface com.netflix.eureka.EurekaServerConfigpublic void setResponseCacheAutoExpirationInSeconds(long responseCacheAutoExpirationInSeconds)
public long getResponseCacheUpdateIntervalMs()
getResponseCacheUpdateIntervalMs in interface com.netflix.eureka.EurekaServerConfigpublic void setResponseCacheUpdateIntervalMs(long responseCacheUpdateIntervalMs)
public boolean isUseReadOnlyResponseCache()
public void setUseReadOnlyResponseCache(boolean useReadOnlyResponseCache)
public boolean isDisableDelta()
public void setDisableDelta(boolean disableDelta)
public long getMaxIdleThreadInMinutesAgeForStatusReplication()
getMaxIdleThreadInMinutesAgeForStatusReplication in interface com.netflix.eureka.EurekaServerConfigpublic void setMaxIdleThreadInMinutesAgeForStatusReplication(long maxIdleThreadInMinutesAgeForStatusReplication)
public int getMinThreadsForStatusReplication()
getMinThreadsForStatusReplication in interface com.netflix.eureka.EurekaServerConfigpublic void setMinThreadsForStatusReplication(int minThreadsForStatusReplication)
public int getMaxThreadsForStatusReplication()
getMaxThreadsForStatusReplication in interface com.netflix.eureka.EurekaServerConfigpublic void setMaxThreadsForStatusReplication(int maxThreadsForStatusReplication)
public int getMaxElementsInStatusReplicationPool()
getMaxElementsInStatusReplicationPool in interface com.netflix.eureka.EurekaServerConfigpublic void setMaxElementsInStatusReplicationPool(int maxElementsInStatusReplicationPool)
public boolean isSyncWhenTimestampDiffers()
public void setSyncWhenTimestampDiffers(boolean syncWhenTimestampDiffers)
public int getRegistrySyncRetries()
getRegistrySyncRetries in interface com.netflix.eureka.EurekaServerConfigpublic void setRegistrySyncRetries(int registrySyncRetries)
public long getRegistrySyncRetryWaitMs()
getRegistrySyncRetryWaitMs in interface com.netflix.eureka.EurekaServerConfigpublic void setRegistrySyncRetryWaitMs(long registrySyncRetryWaitMs)
public int getMaxElementsInPeerReplicationPool()
getMaxElementsInPeerReplicationPool in interface com.netflix.eureka.EurekaServerConfigpublic void setMaxElementsInPeerReplicationPool(int maxElementsInPeerReplicationPool)
public long getMaxIdleThreadAgeInMinutesForPeerReplication()
getMaxIdleThreadAgeInMinutesForPeerReplication in interface com.netflix.eureka.EurekaServerConfigpublic void setMaxIdleThreadAgeInMinutesForPeerReplication(long maxIdleThreadAgeInMinutesForPeerReplication)
public int getMinThreadsForPeerReplication()
getMinThreadsForPeerReplication in interface com.netflix.eureka.EurekaServerConfigpublic void setMinThreadsForPeerReplication(int minThreadsForPeerReplication)
public int getMaxThreadsForPeerReplication()
getMaxThreadsForPeerReplication in interface com.netflix.eureka.EurekaServerConfigpublic void setMaxThreadsForPeerReplication(int maxThreadsForPeerReplication)
public int getMaxTimeForReplication()
getMaxTimeForReplication in interface com.netflix.eureka.EurekaServerConfigpublic void setMaxTimeForReplication(int maxTimeForReplication)
public boolean isPrimeAwsReplicaConnections()
public void setPrimeAwsReplicaConnections(boolean primeAwsReplicaConnections)
public boolean isDisableDeltaForRemoteRegions()
public void setDisableDeltaForRemoteRegions(boolean disableDeltaForRemoteRegions)
public int getRemoteRegionConnectTimeoutMs()
getRemoteRegionConnectTimeoutMs in interface com.netflix.eureka.EurekaServerConfigpublic void setRemoteRegionConnectTimeoutMs(int remoteRegionConnectTimeoutMs)
public int getRemoteRegionReadTimeoutMs()
getRemoteRegionReadTimeoutMs in interface com.netflix.eureka.EurekaServerConfigpublic void setRemoteRegionReadTimeoutMs(int remoteRegionReadTimeoutMs)
public int getRemoteRegionTotalConnections()
getRemoteRegionTotalConnections in interface com.netflix.eureka.EurekaServerConfigpublic void setRemoteRegionTotalConnections(int remoteRegionTotalConnections)
public int getRemoteRegionTotalConnectionsPerHost()
getRemoteRegionTotalConnectionsPerHost in interface com.netflix.eureka.EurekaServerConfigpublic void setRemoteRegionTotalConnectionsPerHost(int remoteRegionTotalConnectionsPerHost)
public int getRemoteRegionConnectionIdleTimeoutSeconds()
getRemoteRegionConnectionIdleTimeoutSeconds in interface com.netflix.eureka.EurekaServerConfigpublic void setRemoteRegionConnectionIdleTimeoutSeconds(int remoteRegionConnectionIdleTimeoutSeconds)
public boolean isgZipContentFromRemoteRegion()
public void setgZipContentFromRemoteRegion(boolean gZipContentFromRemoteRegion)
public Map<String,String> getRemoteRegionUrlsWithName()
getRemoteRegionUrlsWithName in interface com.netflix.eureka.EurekaServerConfigpublic void setRemoteRegionUrlsWithName(Map<String,String> remoteRegionUrlsWithName)
public String[] getRemoteRegionUrls()
getRemoteRegionUrls in interface com.netflix.eureka.EurekaServerConfigpublic void setRemoteRegionUrls(String[] remoteRegionUrls)
public void setRemoteRegionAppWhitelist(Map<String,Set<String>> remoteRegionAppWhitelist)
public int getRemoteRegionRegistryFetchInterval()
getRemoteRegionRegistryFetchInterval in interface com.netflix.eureka.EurekaServerConfigpublic void setRemoteRegionRegistryFetchInterval(int remoteRegionRegistryFetchInterval)
public int getRemoteRegionFetchThreadPoolSize()
getRemoteRegionFetchThreadPoolSize in interface com.netflix.eureka.EurekaServerConfigpublic void setRemoteRegionFetchThreadPoolSize(int remoteRegionFetchThreadPoolSize)
public String getRemoteRegionTrustStore()
getRemoteRegionTrustStore in interface com.netflix.eureka.EurekaServerConfigpublic void setRemoteRegionTrustStore(String remoteRegionTrustStore)
public String getRemoteRegionTrustStorePassword()
getRemoteRegionTrustStorePassword in interface com.netflix.eureka.EurekaServerConfigpublic void setRemoteRegionTrustStorePassword(String remoteRegionTrustStorePassword)
public boolean isDisableTransparentFallbackToOtherRegion()
public void setDisableTransparentFallbackToOtherRegion(boolean disableTransparentFallbackToOtherRegion)
public boolean isBatchReplication()
public void setBatchReplication(boolean batchReplication)
public boolean isRateLimiterEnabled()
isRateLimiterEnabled in interface com.netflix.eureka.EurekaServerConfigpublic void setRateLimiterEnabled(boolean rateLimiterEnabled)
public boolean isRateLimiterThrottleStandardClients()
isRateLimiterThrottleStandardClients in interface com.netflix.eureka.EurekaServerConfigpublic void setRateLimiterThrottleStandardClients(boolean rateLimiterThrottleStandardClients)
public Set<String> getRateLimiterPrivilegedClients()
getRateLimiterPrivilegedClients in interface com.netflix.eureka.EurekaServerConfigpublic void setRateLimiterPrivilegedClients(Set<String> rateLimiterPrivilegedClients)
public int getRateLimiterBurstSize()
getRateLimiterBurstSize in interface com.netflix.eureka.EurekaServerConfigpublic void setRateLimiterBurstSize(int rateLimiterBurstSize)
public int getRateLimiterRegistryFetchAverageRate()
getRateLimiterRegistryFetchAverageRate in interface com.netflix.eureka.EurekaServerConfigpublic void setRateLimiterRegistryFetchAverageRate(int rateLimiterRegistryFetchAverageRate)
public int getRateLimiterFullFetchAverageRate()
getRateLimiterFullFetchAverageRate in interface com.netflix.eureka.EurekaServerConfigpublic void setRateLimiterFullFetchAverageRate(int rateLimiterFullFetchAverageRate)
public boolean isLogIdentityHeaders()
public void setLogIdentityHeaders(boolean logIdentityHeaders)
public String getListAutoScalingGroupsRoleName()
getListAutoScalingGroupsRoleName in interface com.netflix.eureka.EurekaServerConfigpublic void setListAutoScalingGroupsRoleName(String listAutoScalingGroupsRoleName)
public boolean isEnableReplicatedRequestCompression()
public void setEnableReplicatedRequestCompression(boolean enableReplicatedRequestCompression)
public void setJsonCodecName(String jsonCodecName)
public void setXmlCodecName(String xmlCodecName)
public int getRoute53BindRebindRetries()
getRoute53BindRebindRetries in interface com.netflix.eureka.EurekaServerConfigpublic void setRoute53BindRebindRetries(int route53BindRebindRetries)
public int getRoute53BindingRetryIntervalMs()
getRoute53BindingRetryIntervalMs in interface com.netflix.eureka.EurekaServerConfigpublic void setRoute53BindingRetryIntervalMs(int route53BindingRetryIntervalMs)
public long getRoute53DomainTTL()
getRoute53DomainTTL in interface com.netflix.eureka.EurekaServerConfigpublic void setRoute53DomainTTL(long route53DomainTTL)
public com.netflix.eureka.aws.AwsBindingStrategy getBindingStrategy()
getBindingStrategy in interface com.netflix.eureka.EurekaServerConfigpublic void setBindingStrategy(com.netflix.eureka.aws.AwsBindingStrategy bindingStrategy)
public int getMinAvailableInstancesForPeerReplication()
public void setMinAvailableInstancesForPeerReplication(int minAvailableInstancesForPeerReplication)
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.