ConfigClusterResolver
for replacement.
Server resolver that mimics the behavior of the original implementation. Either DNS or server
list resolvers are instantiated, and they can be swapped in runtime because of the dynamic configuration
change.
ReloadingClusterResolver
).@Deprecated public class LegacyClusterResolver extends java.lang.Object implements ClusterResolver<AwsEndpoint>
Constructor and Description |
---|
LegacyClusterResolver(EurekaClientConfig clientConfig,
java.lang.String myZone,
EndpointRandomizer randomizer)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<AwsEndpoint> |
getClusterEndpoints()
Deprecated.
|
java.lang.String |
getRegion()
Deprecated.
|
public LegacyClusterResolver(EurekaClientConfig clientConfig, java.lang.String myZone, EndpointRandomizer randomizer)
public java.lang.String getRegion()
getRegion
in interface ClusterResolver<AwsEndpoint>
public java.util.List<AwsEndpoint> getClusterEndpoints()
getClusterEndpoints
in interface ClusterResolver<AwsEndpoint>