public class RemoteRegionRegistry
extends java.lang.Object
implements com.netflix.discovery.shared.LookupService<java.lang.String>
| Constructor and Description |
|---|
RemoteRegionRegistry(EurekaServerConfig serverConfig,
com.netflix.discovery.EurekaClientConfig clientConfig,
ServerCodecs serverCodecs,
java.lang.String regionName,
java.net.URL remoteRegionURL) |
| Modifier and Type | Method and Description |
|---|---|
com.netflix.discovery.shared.Application |
getApplication(java.lang.String appName) |
com.netflix.discovery.shared.Applications |
getApplicationDeltas() |
com.netflix.discovery.shared.Applications |
getApplications() |
java.util.List<com.netflix.appinfo.InstanceInfo> |
getInstancesById(java.lang.String id) |
com.netflix.appinfo.InstanceInfo |
getNextServerFromEureka(java.lang.String arg0,
boolean arg1) |
boolean |
isReadyForServingData()
Check if this registry is ready for serving data.
|
boolean |
storeFullRegistry()
Gets the full registry information from the eureka server and stores it
locally.
|
@Inject public RemoteRegionRegistry(EurekaServerConfig serverConfig, com.netflix.discovery.EurekaClientConfig clientConfig, ServerCodecs serverCodecs, java.lang.String regionName, java.net.URL remoteRegionURL)
public boolean isReadyForServingData()
public boolean storeFullRegistry()
public com.netflix.discovery.shared.Applications getApplications()
getApplications in interface com.netflix.discovery.shared.LookupService<java.lang.String>public com.netflix.appinfo.InstanceInfo getNextServerFromEureka(java.lang.String arg0,
boolean arg1)
getNextServerFromEureka in interface com.netflix.discovery.shared.LookupService<java.lang.String>public com.netflix.discovery.shared.Application getApplication(java.lang.String appName)
getApplication in interface com.netflix.discovery.shared.LookupService<java.lang.String>public java.util.List<com.netflix.appinfo.InstanceInfo> getInstancesById(java.lang.String id)
getInstancesById in interface com.netflix.discovery.shared.LookupService<java.lang.String>public com.netflix.discovery.shared.Applications getApplicationDeltas()