@Singleton public class AwsInstanceRegistry extends PeerAwareInstanceRegistryImpl
PeerAwareInstanceRegistryImpl.ActionclientConfig, eurekaClient, peerEurekaNodes, serverCodecsallKnownRemoteRegions, expectedNumberOfRenewsPerMin, lock, numberOfRenewsPerMinThreshold, overriddenInstanceStatusMap, regionNameVSRemoteRegistry, responseCache, serverConfig| Constructor and Description |
|---|
AwsInstanceRegistry(EurekaServerConfig serverConfig,
com.netflix.discovery.EurekaClientConfig clientConfig,
ServerCodecs serverCodecs,
com.netflix.discovery.EurekaClient eurekaClient) |
| Modifier and Type | Method and Description |
|---|---|
AwsAsgUtil |
getAwsAsgUtil() |
protected com.netflix.appinfo.InstanceInfo.InstanceStatus |
getOverriddenInstanceStatus(com.netflix.appinfo.InstanceInfo r,
Lease<com.netflix.appinfo.InstanceInfo> existingLease,
boolean isReplication)
override base method to add asg lookup
|
void |
init(PeerEurekaNodes peerEurekaNodes) |
cancel, deleteStatusOverride, getLocalRegistrySize, getNextServerFromEureka, getNumOfReplicationsInLastMin, getReplicaNodes, getSortedApplications, isBelowRenewThresold, isLeaseExpirationEnabled, isRegisterable, isSelfPreservationModeEnabled, openForTraffic, register, renew, shouldAllowAccess, shouldAllowAccess, shutdown, statusUpdate, statusUpdate, syncUpclearRegistry, evict, evict, getApplication, getApplication, getApplicationDeltas, getApplicationDeltasFromMultipleRegions, getApplications, getApplications, getApplicationsFromAllRemoteRegions, getApplicationsFromLocalRegionOnly, getApplicationsFromMultipleRegions, getInstanceByAppAndId, getInstanceByAppAndId, getInstancesById, getInstancesById, getLastNCanceledInstances, getLastNRegisteredInstances, getNumberofElementsininstanceCache, getNumOfRenewsInLastMin, getNumOfRenewsPerMinThreshold, getResponseCache, initializedResponseCache, initRemoteRegionRegistry, internalCancel, overriddenInstanceStatusesSnapshot, postInit, register, storeOverriddenStatusIfRequired, storeOverriddenStatusIfRequiredclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclearRegistry, getApplication, getApplicationsFromLocalRegionOnly, getInstanceByAppAndId, getInstanceByAppAndId, getLastNCanceledInstances, getLastNRegisteredInstances, getNumOfRenewsInLastMin, getNumOfRenewsPerMinThreshold, getResponseCache, initializedResponseCache, overriddenInstanceStatusesSnapshot, storeOverriddenStatusIfRequired, storeOverriddenStatusIfRequiredevict, register@Inject public AwsInstanceRegistry(EurekaServerConfig serverConfig, com.netflix.discovery.EurekaClientConfig clientConfig, ServerCodecs serverCodecs, com.netflix.discovery.EurekaClient eurekaClient)
public void init(PeerEurekaNodes peerEurekaNodes) throws java.lang.Exception
init in interface PeerAwareInstanceRegistryinit in class PeerAwareInstanceRegistryImpljava.lang.Exceptionpublic AwsAsgUtil getAwsAsgUtil()
protected com.netflix.appinfo.InstanceInfo.InstanceStatus getOverriddenInstanceStatus(com.netflix.appinfo.InstanceInfo r,
Lease<com.netflix.appinfo.InstanceInfo> existingLease,
boolean isReplication)
getOverriddenInstanceStatus in class PeerAwareInstanceRegistryImpl