Class NacosServiceRegistry

java.lang.Object
com.alibaba.cloud.nacos.registry.NacosServiceRegistry
All Implemented Interfaces:
org.springframework.cloud.client.serviceregistry.ServiceRegistry<org.springframework.cloud.client.serviceregistry.Registration>

public class NacosServiceRegistry extends Object implements org.springframework.cloud.client.serviceregistry.ServiceRegistry<org.springframework.cloud.client.serviceregistry.Registration>
Author:
xiaojing, Mercy, eshun, JAY
  • Constructor Details

  • Method Details

    • register

      public void register(org.springframework.cloud.client.serviceregistry.Registration registration)
      Specified by:
      register in interface org.springframework.cloud.client.serviceregistry.ServiceRegistry<org.springframework.cloud.client.serviceregistry.Registration>
    • deregister

      public void deregister(org.springframework.cloud.client.serviceregistry.Registration registration)
      Specified by:
      deregister in interface org.springframework.cloud.client.serviceregistry.ServiceRegistry<org.springframework.cloud.client.serviceregistry.Registration>
    • close

      public void close()
      Specified by:
      close in interface org.springframework.cloud.client.serviceregistry.ServiceRegistry<org.springframework.cloud.client.serviceregistry.Registration>
    • setStatus

      public void setStatus(org.springframework.cloud.client.serviceregistry.Registration registration, String status)
      Specified by:
      setStatus in interface org.springframework.cloud.client.serviceregistry.ServiceRegistry<org.springframework.cloud.client.serviceregistry.Registration>
    • getStatus

      public Object getStatus(org.springframework.cloud.client.serviceregistry.Registration registration)
      Specified by:
      getStatus in interface org.springframework.cloud.client.serviceregistry.ServiceRegistry<org.springframework.cloud.client.serviceregistry.Registration>