Search Results for

    Show / Hide Table of Contents

    Class AtomicWrite

    Represents a single atomic write to an Akka.Persistence journal.

    Inheritance
    object
    AtomicWrite
    Implements
    IPersistentEnvelope
    IMessage
    Inherited Members
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Akka.Persistence
    Assembly: Akka.Persistence.dll
    Syntax
    public sealed class AtomicWrite : IPersistentEnvelope, IMessage

    Constructors

    | Edit this page View Source

    AtomicWrite(IPersistentRepresentation)

    Initializes a new instance of the AtomicWrite class.

    Declaration
    public AtomicWrite(IPersistentRepresentation @event)
    Parameters
    Type Name Description
    IPersistentRepresentation event

    TBD

    | Edit this page View Source

    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 payload is empty or the specified payload contains messages from different PersistenceId.

    ArgumentNullException

    This exception is thrown when the specified payload is undefined.

    Properties

    | Edit this page View Source

    HighestSequenceNr

    TBD

    Declaration
    public long HighestSequenceNr { get; }
    Property Value
    Type Description
    long
    | Edit this page View Source

    LowestSequenceNr

    TBD

    Declaration
    public long LowestSequenceNr { get; }
    Property Value
    Type Description
    long
    | Edit this page View Source

    Payload

    This persistent message's payload.

    Declaration
    public object Payload { get; }
    Property Value
    Type Description
    object
    | Edit this page View Source

    PersistenceId

    TBD

    Declaration
    public string PersistenceId { get; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Sender

    TBD

    Declaration
    public IActorRef Sender { get; }
    Property Value
    Type Description
    IActorRef
    | Edit this page View Source

    Size

    TBD

    Declaration
    public int Size { get; }
    Property Value
    Type Description
    int

    Methods

    | Edit this page View Source

    Equals(AtomicWrite)

    Declaration
    public bool Equals(AtomicWrite other)
    Parameters
    Type Name Description
    AtomicWrite other
    Returns
    Type Description
    bool
    | Edit this page View Source

    Equals(object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj
    Returns
    Type Description
    bool
    Overrides
    object.Equals(object)
    | Edit this page View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    Overrides
    object.GetHashCode()
    | Edit this page View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    Overrides
    object.ToString()

    Implements

    IPersistentEnvelope
    IMessage

    Extension Methods

    ObjectExtensions.IsDefaultForType<T>(T)
    ObjectExtensions.AsOption<T>(T)
    Extensions.AsInstanceOf<T>(object)
    In this article
    • githubEdit this page
    • View Source
    Back to top
    Contribute
    • Project Chat
    • Discussion Forum
    • Source Code
    Support
    • Akka.NET Support Plans
    • Akka.NET Observability Tools
    • Akka.NET Training & Consulting
    Maintained By
    • Petabridge - The Akka.NET Company
    • Learn Akka.NET