Package org.eso.ias.heartbeat.serializer
Class HeartbeatMessagePojo
java.lang.Object
org.eso.ias.heartbeat.serializer.HeartbeatMessagePojo
The a java pojo with the heartbeat message.
- Author:
- acaproni
-
Constructor Summary
ConstructorDescriptionEmpty constructorHeartbeatMessagePojo
(String hbStringrepresentation, HeartbeatStatus hbStatus, Map<String, String> props, long tStamp) Constructor -
Method Summary
Modifier and TypeMethodDescriptiongetProps()
getState()
void
setHbStringrepresentation
(String hbStringrepresentation) void
void
setState
(HeartbeatStatus state) void
setTimestamp
(String timestamp)
-
Constructor Details
-
HeartbeatMessagePojo
public HeartbeatMessagePojo()Empty constructor -
HeartbeatMessagePojo
public HeartbeatMessagePojo(String hbStringrepresentation, HeartbeatStatus hbStatus, Map<String, String> props, long tStamp) Constructor- Parameters:
hbStringrepresentation
- the string representation of the HBhbStatus
- the statusprops
- additional propertiestStamp
- the timestamp
-
-
Method Details
-
getTimestamp
-
setTimestamp
-
getHbStringrepresentation
-
setHbStringrepresentation
-
getState
-
setState
-
getProps
-
setProps
-