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