Package io.micronaut.discovery.eureka
Class EurekaServiceInstance
java.lang.Object
io.micronaut.discovery.eureka.EurekaServiceInstance
- All Implemented Interfaces:
io.micronaut.discovery.ServiceInstance
A
ServiceInstance
implementation for Eureka.- Since:
- 1.0
- Author:
- Graeme Rocher
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.micronaut.discovery.ServiceInstance
io.micronaut.discovery.ServiceInstance.Builder
-
Field Summary
Fields inherited from interface io.micronaut.discovery.ServiceInstance
GROUP, REGION, ZONE
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface io.micronaut.discovery.ServiceInstance
getHost, getPort, isSecure, resolve
-
Constructor Details
-
EurekaServiceInstance
- Parameters:
instanceInfo
- The instance info
-
-
Method Details
-
getInstanceId
- Specified by:
getInstanceId
in interfaceio.micronaut.discovery.ServiceInstance
-
getHealthStatus
public io.micronaut.health.HealthStatus getHealthStatus()- Specified by:
getHealthStatus
in interfaceio.micronaut.discovery.ServiceInstance
-
getZone
- Specified by:
getZone
in interfaceio.micronaut.discovery.ServiceInstance
-
getRegion
- Specified by:
getRegion
in interfaceio.micronaut.discovery.ServiceInstance
-
getGroup
- Specified by:
getGroup
in interfaceio.micronaut.discovery.ServiceInstance
-
getInstanceInfo
- Returns:
- The Eureka
InstanceInfo
-
getId
- Specified by:
getId
in interfaceio.micronaut.discovery.ServiceInstance
-
getURI
- Specified by:
getURI
in interfaceio.micronaut.discovery.ServiceInstance
-
getMetadata
- Specified by:
getMetadata
in interfaceio.micronaut.discovery.ServiceInstance
-
toString
-