public class HeartbeatEvent extends AbstractServiceInstanceEvent
HeartbeatConfiguration.| Constructor and Description |
|---|
HeartbeatEvent(ServiceInstance source,
HealthStatus status) |
| Modifier and Type | Method and Description |
|---|---|
HealthStatus |
getStatus()
This method will return the
HealthStatus if the server is configured to calculate the status. |
getSourcepublic HeartbeatEvent(ServiceInstance source, HealthStatus status)
source - The service instancestatus - The status of health indicatorpublic HealthStatus getStatus()
HealthStatus if the server is configured to calculate the status.