Class LegacyClusterResolver
- java.lang.Object
-
- com.netflix.discovery.shared.resolver.LegacyClusterResolver
-
- All Implemented Interfaces:
ClusterResolver<AwsEndpoint>
@Deprecated public class LegacyClusterResolver extends java.lang.Object implements ClusterResolver<AwsEndpoint>
Deprecated.as of 2016-02-11. Will be deleted in an upcoming release. SeeConfigClusterResolverfor 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.Failures
If there is configuration change (from DNS to server list or reverse), and the new resolver cannot be instantiated, it will be retried with exponential back-off (seeReloadingClusterResolver).
-
-
Constructor Summary
Constructors Constructor Description LegacyClusterResolver(EurekaClientConfig clientConfig, java.lang.String myZone, EndpointRandomizer randomizer)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.util.List<AwsEndpoint>getClusterEndpoints()Deprecated.java.lang.StringgetRegion()Deprecated.
-
-
-
Constructor Detail
-
LegacyClusterResolver
public LegacyClusterResolver(EurekaClientConfig clientConfig, java.lang.String myZone, EndpointRandomizer randomizer)
Deprecated.
-
-
Method Detail
-
getRegion
public java.lang.String getRegion()
Deprecated.- Specified by:
getRegionin interfaceClusterResolver<AwsEndpoint>
-
getClusterEndpoints
public java.util.List<AwsEndpoint> getClusterEndpoints()
Deprecated.- Specified by:
getClusterEndpointsin interfaceClusterResolver<AwsEndpoint>
-
-