HeartbeatPartitionDetector

constructor(link: Seam, peerId: PeerId, config: HeartbeatConfig = HeartbeatConfig(), clock: () -> Instant)

Parameters

link

The Seam to the monitored peer.

peerId

The remote peer's PeerId.

config

Timing parameters.

clock

Provides the current Instant; inject a fixed value in tests.