-
Methods Method Description com.netflix.eureka.cluster.PeerEurekaNodes.isThisMe(String) 2016-06-27 use instance version ofPeerEurekaNodes.isThisMyUrl(String)Checks if the given service url contains the current host which is trying to replicate. Only after the EIP binding is done the host has a chance to identify itself in the list of replica nodes and needs to take itself out of replication traffic.com.netflix.eureka.EurekaServerConfig.getRemoteRegionUrls() com.netflix.eureka.registry.AbstractInstanceRegistry.getApplicationDeltas() useAbstractInstanceRegistry.getApplicationDeltasFromMultipleRegions(String[])instead. This method has a flawed behavior of transparently falling back to a remote region if no instances for an app is available locally. The new behavior is to explicitly specify if you need a remote region.com.netflix.eureka.registry.AbstractInstanceRegistry.getApplications(boolean) UseAbstractInstanceRegistry.getApplicationsFromMultipleRegions(String[])instead. This method has a flawed behavior of transparently falling back to a remote region if no instances for an app is available locally. The new behavior is to explicitly specify if you need a remote region.com.netflix.eureka.registry.AbstractInstanceRegistry.getInstancesById(String) TryAbstractInstanceRegistry.getInstanceByAppAndId(String, String)instead. Get all instances by ID, including automatically asking other regions if the ID is unknown.com.netflix.eureka.registry.AbstractInstanceRegistry.storeOverriddenStatusIfRequired(String, InstanceInfo.InstanceStatus) this is expensive, try not to use. See if you can useAbstractInstanceRegistry.storeOverriddenStatusIfRequired(String, String, InstanceStatus)instead. Stores overridden status if it is not already there. This happens during a reconciliation process during renewal requests.com.netflix.eureka.registry.InstanceRegistry.storeOverriddenStatusIfRequired(String, InstanceInfo.InstanceStatus) com.netflix.eureka.registry.PeerAwareInstanceRegistryImpl.getReplicaNodes() usePeerEurekaNodes.getPeerEurekaNodes()directly. Gets the list of peer eureka nodes which is the list to replicate information to.com.netflix.eureka.registry.ResponseCacheImpl.getVersionDeltaStatic() use instance methodResponseCacheImpl.getVersionDelta()Gets the version number of the cached data.com.netflix.eureka.registry.ResponseCacheImpl.getVersionDeltaWithRegionsLegacy() use instance methodResponseCacheImpl.getVersionDeltaWithRegions()Gets the version number of the cached data with remote regions.