HbProducer

org.eso.ias.heartbeat.HbProducer
abstract class HbProducer(val serializer: HbMsgSerializer)

Implementation of HbProducer pushes the HB status message

Value parameters

serializer

The serializer to transform the HB state in a string

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

def init(): Unit

Initialize the producer

Initialize the producer

Attributes

def push(hbAsString: String): Unit

Push the string

Push the string

Attributes

def shutdown(): Unit

Shutdown the producer

Shutdown the producer

Attributes

Concrete methods

def send(hb: Heartbeat, status: HeartbeatStatus, additionalProperties: Map[String, String]): Unit

Publish the HB message with the passed time stamp

Publish the HB message with the passed time stamp

Value parameters

hb

the heartbeat

status

the status of the tool

Attributes

Concrete fields