public class ServiceCombServiceInstance extends Object implements org.springframework.cloud.client.ServiceInstance
| Constructor and Description |
|---|
ServiceCombServiceInstance(org.apache.servicecomb.service.center.client.model.MicroserviceInstance microserviceInstance) |
| Modifier and Type | Method and Description |
|---|---|
String |
getHost() |
String |
getInstanceId() |
Map<String,String> |
getMetadata() |
org.apache.servicecomb.service.center.client.model.MicroserviceInstance |
getMicroserviceInstance() |
int |
getPort() |
String |
getScheme() |
String |
getServiceId() |
URI |
getUri() |
boolean |
isSecure() |
public ServiceCombServiceInstance(org.apache.servicecomb.service.center.client.model.MicroserviceInstance microserviceInstance)
public org.apache.servicecomb.service.center.client.model.MicroserviceInstance getMicroserviceInstance()
public String getInstanceId()
getInstanceId in interface org.springframework.cloud.client.ServiceInstancepublic String getServiceId()
getServiceId in interface org.springframework.cloud.client.ServiceInstancepublic String getHost()
getHost in interface org.springframework.cloud.client.ServiceInstancepublic int getPort()
getPort in interface org.springframework.cloud.client.ServiceInstancepublic boolean isSecure()
isSecure in interface org.springframework.cloud.client.ServiceInstancepublic URI getUri()
getUri in interface org.springframework.cloud.client.ServiceInstancepublic Map<String,String> getMetadata()
getMetadata in interface org.springframework.cloud.client.ServiceInstancepublic String getScheme()
getScheme in interface org.springframework.cloud.client.ServiceInstanceCopyright © 2023 Pivotal Software, Inc.. All rights reserved.