Class ConsulServiceInstance

  • All Implemented Interfaces:
    org.springframework.cloud.client.ServiceInstance

    public class ConsulServiceInstance
    extends org.springframework.cloud.client.DefaultServiceInstance
    • Constructor Detail

      • ConsulServiceInstance

        public ConsulServiceInstance​(com.ecwid.consul.v1.health.model.HealthService healthService,
                                     String serviceId)
      • ConsulServiceInstance

        public ConsulServiceInstance​(String instanceId,
                                     String serviceId,
                                     String host,
                                     int port,
                                     boolean secure)
      • ConsulServiceInstance

        public ConsulServiceInstance()
    • Method Detail

      • getHealthService

        public com.ecwid.consul.v1.health.model.HealthService getHealthService()
      • setHealthService

        public void setHealthService​(com.ecwid.consul.v1.health.model.HealthService healthService)
      • toString

        public String toString()
        Overrides:
        toString in class org.springframework.cloud.client.DefaultServiceInstance