Class ReplayMessages
Request to replay messages to the PersistentActor.
Implements
Inherited Members
Namespace: Akka.Persistence
Assembly: Akka.Persistence.dll
Syntax
[Serializable]
public sealed class ReplayMessages : IJournalRequest, IJournalMessage, IPersistenceMessage, INoSerializationVerificationNeeded, IEquatable<ReplayMessages>
Constructors
| Improve this Doc View SourceReplayMessages(Int64, Int64, Int64, String, IActorRef)
Initializes a new instance of the ReplayMessages class.
Declaration
public ReplayMessages(long fromSequenceNr, long toSequenceNr, long max, string persistenceId, IActorRef persistentActor)
Parameters
Type | Name | Description |
---|---|---|
Int64 | fromSequenceNr | Sequence number where replay should start (inclusive). |
Int64 | toSequenceNr | Sequence number where replay should end (inclusive). |
Int64 | max | Maximum number of messages to be replayed. |
String | persistenceId | Requesting persistent actor identifier. |
IActorRef | persistentActor | Requesting persistent actor. |
Properties
| Improve this Doc View SourceFromSequenceNr
Inclusive lower sequence number bound where a replay should start.
Declaration
public long FromSequenceNr { get; }
Property Value
Type | Description |
---|---|
Int64 |
Max
Maximum number of messages to be replayed.
Declaration
public long Max { get; }
Property Value
Type | Description |
---|---|
Int64 |
PersistenceId
Requesting persistent actor identifier.
Declaration
public string PersistenceId { get; }
Property Value
Type | Description |
---|---|
String |
PersistentActor
Requesting persistent actor.
Declaration
public IActorRef PersistentActor { get; }
Property Value
Type | Description |
---|---|
IActorRef |
ToSequenceNr
Inclusive upper sequence number bound where a replay should end.
Declaration
public long ToSequenceNr { get; }
Property Value
Type | Description |
---|---|
Int64 |
Methods
| Improve this Doc View SourceEquals(ReplayMessages)
Declaration
public bool Equals(ReplayMessages other)
Parameters
Type | Name | Description |
---|---|---|
ReplayMessages | other |
Returns
Type | Description |
---|---|
Boolean |
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
Object | obj |
Returns
Type | Description |
---|---|
Boolean |
Overrides
| Improve this Doc View SourceGetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
Int32 |
Overrides
| Improve this Doc View SourceToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String |