org.eso.ias.heartbeat.HbEngine
See theHbEngine companion class
object HbEngine
Companion object
Attributes
Members list
Value members
Concrete methods
def apply(name: String, toolType: HeartbeatProducerType, frequency: Long, publisher: HbProducer): HbEngine
Return the HbEngine singleton
Return the HbEngine singleton
Value parameters
- frequency
-
the frequency to publish HBs in the topic
- name
-
the name of the tool
- publisher
-
the publisher that sends the HBs
- toolType
-
the type of the tool
Attributes
- Returns
-
the HbEngine
def getInstance(name: String, toolType: HeartbeatProducerType, frequency: Long, publisher: HbProducer)(): HbEngine
Alias more familiar to java developers that delegates to apply
Alias more familiar to java developers that delegates to apply
Value parameters
- frequency
-
the frequency to publish HBs in the topic
- name
-
the name of the tool
- publisher
-
the publisher that sends the HBs
- toolType
-
the type of the tool
Attributes
- Returns
-
the HbEngine
In this article