Class EurekaServiceRegistry
- java.lang.Object
-
- org.springframework.cloud.netflix.eureka.serviceregistry.EurekaServiceRegistry
-
- All Implemented Interfaces:
org.springframework.cloud.client.serviceregistry.ServiceRegistry<EurekaRegistration>
public class EurekaServiceRegistry extends Object implements org.springframework.cloud.client.serviceregistry.ServiceRegistry<EurekaRegistration>
- Author:
- Spencer Gibb
-
-
Constructor Summary
Constructors Constructor Description EurekaServiceRegistry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidderegister(EurekaRegistration reg)ObjectgetStatus(EurekaRegistration registration)voidregister(EurekaRegistration reg)voidsetStatus(EurekaRegistration registration, String status)
-
-
-
Method Detail
-
register
public void register(EurekaRegistration reg)
- Specified by:
registerin interfaceorg.springframework.cloud.client.serviceregistry.ServiceRegistry<EurekaRegistration>
-
deregister
public void deregister(EurekaRegistration reg)
- Specified by:
deregisterin interfaceorg.springframework.cloud.client.serviceregistry.ServiceRegistry<EurekaRegistration>
-
setStatus
public void setStatus(EurekaRegistration registration, String status)
- Specified by:
setStatusin interfaceorg.springframework.cloud.client.serviceregistry.ServiceRegistry<EurekaRegistration>
-
getStatus
public Object getStatus(EurekaRegistration registration)
- Specified by:
getStatusin interfaceorg.springframework.cloud.client.serviceregistry.ServiceRegistry<EurekaRegistration>
-
close
public void close()
- Specified by:
closein interfaceorg.springframework.cloud.client.serviceregistry.ServiceRegistry<EurekaRegistration>
-
-