public class DefaultEurekaTransportConfig extends java.lang.Object implements EurekaTransportConfig
| Constructor and Description |
|---|
DefaultEurekaTransportConfig(java.lang.String parentNamespace,
com.netflix.config.DynamicPropertyFactory configInstance) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
applicationsResolverUseIp()
By default, the applications resolver extracts the public hostname from internal InstanceInfos for resolutions.
|
int |
getApplicationsResolverDataStalenessThresholdSeconds() |
int |
getAsyncExecutorThreadPoolSize() |
int |
getAsyncResolverRefreshIntervalMs() |
int |
getAsyncResolverWarmUpTimeoutMs() |
java.lang.String |
getBootstrapResolverStrategy()
Can be used to specify different bootstrap resolve strategies.
|
java.lang.String |
getReadClusterVip()
The remote vipAddress of the eureka cluster (either the primaries or a readonly replica) to fetch registry
data from.
|
double |
getRetryableClientQuarantineRefreshPercentage() |
int |
getSessionedClientReconnectIntervalSeconds() |
java.lang.String |
getWriteClusterVip()
The remote vipAddress of the primary eureka cluster to register with.
|
boolean |
useBootstrapResolverForQuery()
By default, the transport uses the same (bootstrap) resolver for queries.
|
public DefaultEurekaTransportConfig(java.lang.String parentNamespace,
com.netflix.config.DynamicPropertyFactory configInstance)
public int getSessionedClientReconnectIntervalSeconds()
getSessionedClientReconnectIntervalSeconds in interface EurekaTransportConfigpublic double getRetryableClientQuarantineRefreshPercentage()
getRetryableClientQuarantineRefreshPercentage in interface EurekaTransportConfigpublic int getApplicationsResolverDataStalenessThresholdSeconds()
getApplicationsResolverDataStalenessThresholdSeconds in interface EurekaTransportConfigpublic boolean applicationsResolverUseIp()
EurekaTransportConfigapplicationsResolverUseIp in interface EurekaTransportConfigpublic int getAsyncResolverRefreshIntervalMs()
getAsyncResolverRefreshIntervalMs in interface EurekaTransportConfigpublic int getAsyncResolverWarmUpTimeoutMs()
getAsyncResolverWarmUpTimeoutMs in interface EurekaTransportConfigpublic int getAsyncExecutorThreadPoolSize()
getAsyncExecutorThreadPoolSize in interface EurekaTransportConfigpublic java.lang.String getWriteClusterVip()
EurekaTransportConfiggetWriteClusterVip in interface EurekaTransportConfigpublic java.lang.String getReadClusterVip()
EurekaTransportConfiggetReadClusterVip in interface EurekaTransportConfigpublic java.lang.String getBootstrapResolverStrategy()
EurekaTransportConfigEurekaTransportConfig.getApplicationsResolverDataStalenessThresholdSeconds(), otherwise
fall back to a backing defaultgetBootstrapResolverStrategy in interface EurekaTransportConfigpublic boolean useBootstrapResolverForQuery()
EurekaTransportConfigEurekaTransportConfig.getReadClusterVip(). This indirect resolver may or may not return the same
targets as the bootstrap servers depending on how servers are setup.useBootstrapResolverForQuery in interface EurekaTransportConfig