- java.lang.Object
-
- org.springframework.cloud.client.discovery.simple.SimpleDiscoveryProperties.SimpleServiceInstance
-
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getHost
public String getHost()
- Specified by:
getHost in interface ServiceInstance
- Returns:
- The hostname of the registered service instance.
-
getPort
public int getPort()
- Specified by:
getPort in interface ServiceInstance
- Returns:
- The port of the registered service instance.
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.