org.eso.ias.heartbeat.report
Members list
Type members
Classlikes
HbsCollector gets and collects the HBs received between invocations of startCollectingHbs and stopCollectingHBs.
HbsCollector gets and collects the HBs received between invocations of startCollectingHbs and stopCollectingHBs.
HBs older than a given TTL (>0) are automatically removed from the container so that dead processes will disappear after they stop sending HBs. The reception time of the HB is checked against the TTL in a Timer task.
The removal of old HBs periodically done by the timer task can be paused/resumed
TODO: There is some overlap with the HbMonitor here: let HbMonitor re-use this class
Value parameters
- brokers
-
Kafka brokers to connect to
- consumerId
-
The id for the kafka consumer
- ttl
-
time to leave (msec>=0) disabled by default, if ttl>0, HBs older then ttl are automatically removed from the container if ttl<=0, received HBs are never removed from the container It makes sense to link TTL to the HB period set in the CDB ("hbFrequency")
- ttlCheckTime
-
the period (msec>0) to check for old HBs
Attributes
- Companion
- object
- Supertypes
Companion object
Companion object
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
HbsCollector.type