public class HealthMonitorableEvent extends Object
Modifier and Type | Class and Description |
---|---|
static class |
HealthMonitorableEvent.Reason |
Constructor and Description |
---|
HealthMonitorableEvent(String monitorId,
HealthMonitorableEvent.Reason reason)
Construct the event with the given parameter.
|
Modifier and Type | Method and Description |
---|---|
String |
monitorId()
Get the identification string for the health contributor associated with
this event.
|
HealthMonitorableEvent.Reason |
reason()
Get the status for the health contributor associated with this event.
|
public HealthMonitorableEvent(String monitorId, HealthMonitorableEvent.Reason reason)
monitorId
- the identification of the heareason
- the reason for this eventpublic String monitorId()
public HealthMonitorableEvent.Reason reason()
Copyright © 2015. All Rights Reserved.