Class AtomicWrite
Represents a single atomic write to an Akka.Persistence journal.
Inherited Members
Namespace: Akka.Persistence
Assembly: Akka.Persistence.dll
Syntax
public sealed class AtomicWrite : IPersistentEnvelope, IMessage
Constructors
| Edit this page View SourceAtomicWrite(IPersistentRepresentation)
Initializes a new instance of the AtomicWrite class.
Declaration
public AtomicWrite(IPersistentRepresentation @event)
Parameters
| Type | Name | Description |
|---|---|---|
| IPersistentRepresentation | event | TBD |
AtomicWrite(IImmutableList<IPersistentRepresentation>)
Initializes a new instance of the AtomicWrite class.
Declaration
public AtomicWrite(IImmutableList<IPersistentRepresentation> payload)
Parameters
| Type | Name | Description |
|---|---|---|
| IImmutableList<IPersistentRepresentation> | payload | TBD |
Exceptions
| Type | Condition |
|---|---|
| ArgumentException | This exception is thrown when either the specified |
| ArgumentNullException | This exception is thrown when the specified |
Properties
| Edit this page View SourceHighestSequenceNr
TBD
Declaration
public long HighestSequenceNr { get; }
Property Value
| Type | Description |
|---|---|
| long |
LowestSequenceNr
TBD
Declaration
public long LowestSequenceNr { get; }
Property Value
| Type | Description |
|---|---|
| long |
Payload
This persistent message's payload.
Declaration
public object Payload { get; }
Property Value
| Type | Description |
|---|---|
| object |
PersistenceId
TBD
Declaration
public string PersistenceId { get; }
Property Value
| Type | Description |
|---|---|
| string |
Sender
TBD
Declaration
public IActorRef Sender { get; }
Property Value
| Type | Description |
|---|---|
| IActorRef |
Size
TBD
Declaration
public int Size { get; }
Property Value
| Type | Description |
|---|---|
| int |
Methods
| Edit this page View SourceEquals(AtomicWrite)
Declaration
public bool Equals(AtomicWrite other)
Parameters
| Type | Name | Description |
|---|---|---|
| AtomicWrite | other |
Returns
| Type | Description |
|---|---|
| bool |
Equals(object)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object obj)
Parameters
| Type | Name | Description |
|---|---|---|
| object | obj | The object to compare with the current object. |
Returns
| Type | Description |
|---|---|
| bool | true if the specified object is equal to the current object; otherwise, false. |
Overrides
| Edit this page View SourceGetHashCode()
Serves as the default hash function.
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| int | A hash code for the current object. |
Overrides
| Edit this page View SourceToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | A string that represents the current object. |
Edit this page