Class AtomicWrite
Represents a single atomic write to an Akka.Persistence journal.
Assembly: Akka.Persistence.dll
Syntax
public sealed class AtomicWrite : IPersistentEnvelope, IMessage
Constructors
|
Improve this Doc
View Source
AtomicWrite(IPersistentRepresentation)
Declaration
public AtomicWrite(IPersistentRepresentation event)
Parameters
|
Improve this Doc
View Source
AtomicWrite(IImmutableList<IPersistentRepresentation>)
Declaration
public AtomicWrite(IImmutableList<IPersistentRepresentation> payload)
Parameters
Exceptions
Type |
Condition |
ArgumentException |
This exception is thrown when either the specified payload is empty
or the specified payload contains messages from different PersistenceId.
|
ArgumentNullException |
This exception is thrown when the specified payload is undefined.
|
Properties
|
Improve this Doc
View Source
HighestSequenceNr
Declaration
public long HighestSequenceNr { get; }
Property Value
|
Improve this Doc
View Source
LowestSequenceNr
Declaration
public long LowestSequenceNr { get; }
Property Value
|
Improve this Doc
View Source
Payload
This persistent message's payload.
Declaration
public object Payload { get; }
Property Value
|
Improve this Doc
View Source
PersistenceId
Declaration
public string PersistenceId { get; }
Property Value
|
Improve this Doc
View Source
Sender
Declaration
public IActorRef Sender { get; }
Property Value
|
Improve this Doc
View Source
Size
Declaration
Property Value
Methods
|
Improve this Doc
View Source
Equals(AtomicWrite)
Declaration
public bool Equals(AtomicWrite other)
Parameters
Returns
|
Improve this Doc
View Source
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Overrides
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
|
Improve this Doc
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides
Implements
Extension Methods