public class NacosServiceRegistry extends Object implements org.springframework.cloud.client.serviceregistry.ServiceRegistry<org.springframework.cloud.client.serviceregistry.Registration>
| 构造器和说明 |
|---|
NacosServiceRegistry(NacosDiscoveryProperties nacosDiscoveryProperties) |
| 限定符和类型 | 方法和说明 |
|---|---|
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 在接口中 org.springframework.cloud.client.serviceregistry.ServiceRegistry<org.springframework.cloud.client.serviceregistry.Registration>public void deregister(org.springframework.cloud.client.serviceregistry.Registration registration)
deregister 在接口中 org.springframework.cloud.client.serviceregistry.ServiceRegistry<org.springframework.cloud.client.serviceregistry.Registration>public void close()
close 在接口中 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 在接口中 org.springframework.cloud.client.serviceregistry.ServiceRegistry<org.springframework.cloud.client.serviceregistry.Registration>public Object getStatus(org.springframework.cloud.client.serviceregistry.Registration registration)
getStatus 在接口中 org.springframework.cloud.client.serviceregistry.ServiceRegistry<org.springframework.cloud.client.serviceregistry.Registration>Copyright © 2020 Pivotal Software, Inc.. All rights reserved.