public class AnsServiceRegistry extends Object implements org.springframework.cloud.client.serviceregistry.ServiceRegistry<AnsRegistration>
| Constructor and Description |
|---|
AnsServiceRegistry() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
deregister(AnsRegistration registration) |
<T> T |
getStatus(AnsRegistration registration) |
void |
register(AnsRegistration registration) |
void |
setStatus(AnsRegistration registration,
String status) |
public void register(AnsRegistration registration)
register in interface org.springframework.cloud.client.serviceregistry.ServiceRegistry<AnsRegistration>public void deregister(AnsRegistration registration)
deregister in interface org.springframework.cloud.client.serviceregistry.ServiceRegistry<AnsRegistration>public void close()
close in interface org.springframework.cloud.client.serviceregistry.ServiceRegistry<AnsRegistration>public void setStatus(AnsRegistration registration, String status)
setStatus in interface org.springframework.cloud.client.serviceregistry.ServiceRegistry<AnsRegistration>public <T> T getStatus(AnsRegistration registration)
getStatus in interface org.springframework.cloud.client.serviceregistry.ServiceRegistry<AnsRegistration>Copyright © 2019 Pivotal Software, Inc.. All rights reserved.