public class HeartBeatPropertyPayload
extends java.lang.Object
Defines the Payload class to store and send heartbeat properties and allowing to keep track of updates to them.
| Constructor and Description |
|---|
HeartBeatPropertyPayload() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isHealthy()
Gets the value of payload is healthy
|
void |
setHealthy(boolean healthy)
Sets the health of the payload.
|
void |
setPayloadValue(java.lang.String payloadValue)
This is used to set the payload
|
void |
setUpdated(boolean updated)
Set update flag to indicate the change of value
|
public void setUpdated(boolean updated)
updated - the boolean value to indicate updatepublic void setPayloadValue(java.lang.String payloadValue)
payloadValue - value of the propertypublic boolean isHealthy()
public void setHealthy(boolean healthy)
healthy - boolean value representing the health.