Class DeleteMessagesTo
Request to delete all persistent messages with sequence numbers up to toSequenceNr
(inclusive).
Inheritance
DeleteMessagesTo
Assembly: Akka.Persistence.dll
Syntax
[Serializable]
public sealed class DeleteMessagesTo : IJournalRequest, IJournalMessage, IPersistenceMessage, INoSerializationVerificationNeeded, IEquatable<DeleteMessagesTo>
Constructors
|
Improve this Doc
View Source
DeleteMessagesTo(String, Int64, IActorRef)
Declaration
public DeleteMessagesTo(string persistenceId, long toSequenceNr, IActorRef persistentActor)
Parameters
Type |
Name |
Description |
String |
persistenceId |
Requesting persistent actor id.
|
Int64 |
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
|
Improve this Doc
View Source
PersistenceId
Requesting persistent actor id.
Declaration
public string PersistenceId { get; }
Property Value
|
Improve this Doc
View Source
PersistentActor
Requesting persistent actor.
Declaration
public IActorRef PersistentActor { get; }
Property Value
|
Improve this Doc
View Source
ToSequenceNr
Sequence number where replay should end (inclusive).
Declaration
public long ToSequenceNr { get; }
Property Value
Methods
|
Improve this Doc
View Source
Equals(DeleteMessagesTo)
Declaration
public bool Equals(DeleteMessagesTo 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