Table of Contents

Namespace Excalibur.Dispatch.LeaderElection

Classes

CandidateHealth

Represents the health status of a candidate.

LeaderCandidateIdentity

Resolves the candidate identity an election competes under, from the configured instance identifier or, when none was configured, from the environment.

LeaderChangedEventArgs

Event arguments for leader change events.

LeaderElectionAcquisitionFailedEventArgs

Event arguments raised when a leader election candidate fails to acquire leadership, either by losing the acquisition race to another candidate or because an error occurred during the acquisition attempt.

LeaderElectionEventArgs

Event arguments for leader election events.

LeaderElectionOptions

Options for configuring leader election.

LeaderElectionOptionsValidator

Validates LeaderElectionOptions cross-property constraints.

Structs

Leadership

An atomic, point-in-time snapshot of an ILeaderElection instance's leadership state, carrying the fencing token that must be attached to every operation performed during this tenure.

Interfaces

IHealthBasedLeaderElection

Provides leader election capabilities with health checks.

ILeaderElection

Provides leader election capabilities for distributed systems.

ILeaderElectionFactory

Factory for creating leader election instances.