public interface PeerAwareInstanceRegistry extends InstanceRegistry
| Modifier and Type | Method and Description |
|---|---|
void |
init(PeerEurekaNodes peerEurekaNodes) |
void |
register(com.netflix.appinfo.InstanceInfo info,
boolean isReplication) |
boolean |
shouldAllowAccess(boolean remoteRegionRequired)
Checks to see if the registry access is allowed or the server is in a
situation where it does not all getting registry information.
|
void |
statusUpdate(java.lang.String asgName,
ASGResource.ASGStatus newStatus,
boolean isReplication) |
int |
syncUp()
Populates the registry information from a peer eureka node.
|
clearRegistry, deleteStatusOverride, getApplication, getApplicationsFromLocalRegionOnly, getInstanceByAppAndId, getInstanceByAppAndId, getLastNCanceledInstances, getLastNRegisteredInstances, getNumOfRenewsInLastMin, getNumOfRenewsPerMinThreshold, getResponseCache, getSortedApplications, initializedResponseCache, isBelowRenewThresold, isLeaseExpirationEnabled, isSelfPreservationModeEnabled, openForTraffic, overriddenInstanceStatusesSnapshot, shutdown, statusUpdate, storeOverriddenStatusIfRequired, storeOverriddenStatusIfRequiredcancel, evict, register, renewvoid init(PeerEurekaNodes peerEurekaNodes) throws java.lang.Exception
java.lang.Exceptionint syncUp()
boolean shouldAllowAccess(boolean remoteRegionRequired)
EurekaServerConfig.getWaitTimeInMsWhenSyncEmpty(), if it cannot
get the registry information from the peer eureka nodes at start up.void register(com.netflix.appinfo.InstanceInfo info,
boolean isReplication)
void statusUpdate(java.lang.String asgName,
ASGResource.ASGStatus newStatus,
boolean isReplication)