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
ConstructorsConstructorDescriptionEmpty constructorHeartbeatMessagePojo(String hbStringrepresentation, HeartbeatStatus hbStatus, Map<String, String> props, long tStamp) Constructor -
Method Summary
Modifier and TypeMethodDescriptiongetProps()getState()voidsetHbStringrepresentation(String hbStringrepresentation) voidvoidsetState(HeartbeatStatus state) voidsetTimestamp(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
-