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