Class FailedPartition
- Namespace
- Cratis.Chronicle.Observation
- Assembly
- Cratis.Chronicle.dll
Represents a failed partition.
public record FailedPartition : IEquatable<FailedPartition>
- Inheritance
-
FailedPartition
- Implements
- Inherited Members
Constructors
FailedPartition(FailedPartitionId, ObserverId, Partition, IEnumerable<FailedPartitionAttempt>)
Represents a failed partition.
public FailedPartition(FailedPartitionId Id, ObserverId ObserverId, Partition Partition, IEnumerable<FailedPartitionAttempt> Attempts)
Parameters
Id
FailedPartitionIdUnique identifier of the failed partition registration.
ObserverId
ObserverIdThe identifier of the observer (Reactor, Reducer).
Partition
PartitionPartition that has failed.
Attempts
IEnumerable<FailedPartitionAttempt>Collection of FailedPartitionAttempt.
Properties
Attempts
Collection of FailedPartitionAttempt.
public IEnumerable<FailedPartitionAttempt> Attempts { get; init; }
Property Value
Id
Unique identifier of the failed partition registration.
public FailedPartitionId Id { get; init; }
Property Value
ObserverId
The identifier of the observer (Reactor, Reducer).
public ObserverId ObserverId { get; init; }
Property Value
Partition
Partition that has failed.
public Partition Partition { get; init; }