MockProducer

org.eso.ias.heartbeat.test.MockProducer
class MockProducer(serializer: HbMsgSerializer) extends HbProducer

A mock producer to record what the Engine sends to the framework

Attributes

Graph
Supertypes
class HbProducer
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

override def init(): Unit

Initialize the producer

Initialize the producer

Attributes

Definition Classes
override def push(hbAsString: String): Unit

Push the string

Push the string

Attributes

Definition Classes
override def shutdown(): Unit

Shutdown the producer

Shutdown the producer

Attributes

Definition Classes

Inherited 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

Inherited from:
HbProducer

Concrete fields

var cleanedUp: Boolean

Flagt he call of shutdown method

Flagt he call of shutdown method

Attributes

var initialzed: Boolean

Flagt he call of initialized method

Flagt he call of initialized method

Attributes

val logger: Logger

The logger

The logger

Attributes

val pushedStrings: ArrayBuffer[String]

The strings sent to the framework

The strings sent to the framework

Attributes