HbJsonSerializer

org.eso.ias.heartbeat.serializer.HbJsonSerializer

Serialize/deserialize HB messages into JSON strings

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

override def deserializeFromString(hbStrMessage: String): (Heartbeat, HeartbeatStatus, Map[String, String], Long)

Parse the passed string to return a tuple with the field of the HB mesage

Parse the passed string to return a tuple with the field of the HB mesage

Value parameters

A

string representation of the message with the timestamp

Attributes

Returns

a tuple with the full running id, the status, properties and the timestamp

Definition Classes
override def serializeToString(hb: Heartbeat, status: HeartbeatStatus, additionalProeprties: Map[String, String], timestamp: Long): String

Serialize the HB message to publish in a string

Serialize the HB message to publish in a string

Value parameters

fullRunningId

full running id

status

the status of the tool

timestamp

the timestamp to associate to the message

Attributes

Returns

A string representation of the message and the timestamp

Definition Classes