Struct DurableProducerQueue.State<T>
Durable producer queue state
Assembly: Akka.dll
Syntax
public readonly record struct DurableProducerQueue.State<T> : IEquatable<DurableProducerQueue.State<T>>
Type Parameters
Constructors
|
Edit this page
View Source
State(long, long, ImmutableDictionary<string, (long, long)>, ImmutableList<MessageSent<T>>)
Durable producer queue state
Declaration
public State(long CurrentSeqNr, long HighestConfirmedSeqNr, ImmutableDictionary<string, (long, long)> ConfirmedSeqNr, ImmutableList<DurableProducerQueue.MessageSent<T>> Unconfirmed)
Parameters
Properties
|
Edit this page
View Source
ConfirmedSeqNr
Declaration
public ImmutableDictionary<string, (long, long)> ConfirmedSeqNr { get; init; }
Property Value
|
Edit this page
View Source
CurrentSeqNr
Declaration
public long CurrentSeqNr { get; init; }
Property Value
|
Edit this page
View Source
Empty
Declaration
public static DurableProducerQueue.State<T> Empty { get; }
Property Value
|
Edit this page
View Source
HighestConfirmedSeqNr
Declaration
public long HighestConfirmedSeqNr { get; init; }
Property Value
|
Edit this page
View Source
Unconfirmed
Declaration
public ImmutableList<DurableProducerQueue.MessageSent<T>> Unconfirmed { get; init; }
Property Value
Methods
|
Edit this page
View Source
AddConfirmed(long, string, long)
Declaration
public DurableProducerQueue.State<T> AddConfirmed(long seqNr, string qualifier, long timestamp)
Parameters
Returns
|
Edit this page
View Source
AddMessageSent(MessageSent<T>)
Declaration
public DurableProducerQueue.State<T> AddMessageSent(DurableProducerQueue.MessageSent<T> messageSent)
Parameters
Returns
|
Edit this page
View Source
CleanUp(ISet<string>)
Declaration
public DurableProducerQueue.State<T> CleanUp(ISet<string> confirmationQualifiers)
Parameters
Type |
Name |
Description |
ISet<string> |
confirmationQualifiers |
|
Returns
|
Edit this page
View Source
CleanUpPartialChunkedMessages()
If not all chunked messages were stored before crash, those partial messages should not be resent.
Declaration
public DurableProducerQueue.State<T> CleanUpPartialChunkedMessages()
Returns
|
Edit this page
View Source
Equals(State<T>)
Declaration
public bool Equals(DurableProducerQueue.State<T> other)
Parameters
Returns
|
Edit this page
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
Implements
Extension Methods