Search Results for

    Show / Hide Table of Contents

    Class DeleteMessagesTo

    Request to delete all persistent messages with sequence numbers up to toSequenceNr (inclusive).

    Inheritance
    object
    DeleteMessagesTo
    Implements
    IJournalRequest
    IJournalMessage
    IPersistenceMessage
    INoSerializationVerificationNeeded
    IEquatable<DeleteMessagesTo>
    Inherited Members
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Akka.Persistence
    Assembly: Akka.Persistence.dll
    Syntax
    [Serializable]
    public sealed class DeleteMessagesTo : IJournalRequest, IJournalMessage, IPersistenceMessage, INoSerializationVerificationNeeded, IEquatable<DeleteMessagesTo>

    Constructors

    | Edit this page View Source

    DeleteMessagesTo(string, long, IActorRef)

    Initializes a new instance of the DeleteMessagesTo class.

    Declaration
    public DeleteMessagesTo(string persistenceId, long toSequenceNr, IActorRef persistentActor)
    Parameters
    Type Name Description
    string persistenceId

    Requesting persistent actor id.

    long toSequenceNr

    Sequence number where replay should end (inclusive). MaxValue may be used to delete all persistent messages.

    IActorRef persistentActor

    Requesting persistent actor.

    Exceptions
    Type Condition
    ArgumentNullException

    This exception is thrown when the specified persistenceId is undefined.

    Properties

    | Edit this page View Source

    PersistenceId

    Requesting persistent actor id.

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

    PersistentActor

    Requesting persistent actor.

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

    ToSequenceNr

    Sequence number where replay should end (inclusive).

    Declaration
    public long ToSequenceNr { get; }
    Property Value
    Type Description
    long

    Methods

    | Edit this page View Source

    Equals(DeleteMessagesTo)

    Declaration
    public bool Equals(DeleteMessagesTo other)
    Parameters
    Type Name Description
    DeleteMessagesTo 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

    IJournalRequest
    IJournalMessage
    IPersistenceMessage
    INoSerializationVerificationNeeded
    IEquatable<T>

    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