Class EurekaInstance
java.lang.Object
org.kiwiproject.registry.eureka.common.EurekaInstance
This model matches the format of the data being sent to the Eureka server
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
boolean
static EurekaInstance
fromServiceInstance
(ServiceInstance serviceInstance) int
getApp()
getPort()
int
hashCode()
toServiceInstance
(NativeRegistryData nativeRegistryData) toString()
withDataCenterInfo
(Map<String, String> dataCenterInfo) withLeaseInfo
(Map<String, Object> leaseInfo) withRawResponse
(Map<String, Object> rawResponse) withStatus
(String status)
-
Method Details
-
getInstanceId
-
fromServiceInstance
-
toServiceInstance
-
toServiceInstance
-
builder
-
getApp
-
getStatus
-
getDataCenterInfo
-
getLeaseInfo
-
getRawResponse
-
getHostName
-
getIpAddr
-
getVipAddress
-
getSecureVipAddress
-
getPort
-
getSecurePort
-
getAdminPort
public int getAdminPort() -
getHomePageUrl
-
getStatusPageUrl
-
getHealthCheckUrl
-
getMetadata
-
equals
-
hashCode
public int hashCode() -
toString
-
withApp
- Returns:
- a clone of this object, except with this updated property (returns
this
if an identical value is passed).
-
withStatus
- Returns:
- a clone of this object, except with this updated property (returns
this
if an identical value is passed).
-
withDataCenterInfo
- Returns:
- a clone of this object, except with this updated property (returns
this
if an identical value is passed).
-
withLeaseInfo
- Returns:
- a clone of this object, except with this updated property (returns
this
if an identical value is passed).
-
withRawResponse
- Returns:
- a clone of this object, except with this updated property (returns
this
if an identical value is passed).
-