Skip to content

HeartbeatTimeoutEventArgs Class

Argument type for the HeartbeatTimeout event: the local heartbeat consumer for ProducerNodeId did not observe a heartbeat within the configured timeout.

public sealed class HeartbeatTimeoutEventArgs : System.EventArgs

Inheritance ObjectEventArgs → HeartbeatTimeoutEventArgs

Constructors

HeartbeatTimeoutEventArgs(byte, TimeSpan) Constructor

Constructs a new event.

public HeartbeatTimeoutEventArgs(byte producerNodeId, System.TimeSpan timeout);

Parameters

producerNodeId Byte

timeout TimeSpan

Properties

HeartbeatTimeoutEventArgs.ProducerNodeId Property

Producer node-id whose heartbeat was missed.

public byte ProducerNodeId { get; }

Property Value

Byte

HeartbeatTimeoutEventArgs.Timeout Property

Configured consumer timeout that elapsed.

public System.TimeSpan Timeout { get; }

Property Value

TimeSpan