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
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()booleanstatic EurekaInstancefromServiceInstance(ServiceInstance serviceInstance) intgetApp()getPort()inthashCode()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
thisif an identical value is passed).
-
withStatus
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withDataCenterInfo
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withLeaseInfo
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withRawResponse
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-