Package org.apache.pekko.persistence
Class JournalProtocol.ReplayMessages
java.lang.Object
org.apache.pekko.persistence.JournalProtocol.ReplayMessages
- All Implemented Interfaces:
Serializable,NoSerializationVerificationNeeded,JournalProtocol.Message,JournalProtocol.Request,Protocol.Message,scala.Equals,scala.Product
- Enclosing class:
- JournalProtocol
public static final class JournalProtocol.ReplayMessages
extends Object
implements JournalProtocol.Request, scala.Product, Serializable
Request to replay messages to
persistentActor.
param: fromSequenceNr sequence number where replay should start (inclusive). param: toSequenceNr sequence number where replay should end (inclusive). param: max maximum number of messages to be replayed. param: persistenceId requesting persistent actor id. param: persistentActor requesting persistent actor.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionReplayMessages(long fromSequenceNr, long toSequenceNr, long max, String persistenceId, ActorRef persistentActor) -
Method Summary
Modifier and TypeMethodDescriptionbooleancopy(long fromSequenceNr, long toSequenceNr, long max, String persistenceId, ActorRef persistentActor) longlonglongbooleanlonginthashCode()longmax()intproductElement(int x$1) productElementName(int x$1) scala.collection.Iterator<Object>longtoString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface scala.Product
productElementNames
-
Constructor Details
-
ReplayMessages
-
-
Method Details
-
fromSequenceNr
public long fromSequenceNr() -
toSequenceNr
public long toSequenceNr() -
max
public long max() -
persistenceId
-
persistentActor
-
copy
public JournalProtocol.ReplayMessages copy(long fromSequenceNr, long toSequenceNr, long max, String persistenceId, ActorRef persistentActor) -
copy$default$1
public long copy$default$1() -
copy$default$2
public long copy$default$2() -
copy$default$3
public long copy$default$3() -
copy$default$4
-
copy$default$5
-
productPrefix
- Specified by:
productPrefixin interfacescala.Product
-
productArity
public int productArity()- Specified by:
productArityin interfacescala.Product
-
productElement
- Specified by:
productElementin interfacescala.Product
-
productIterator
- Specified by:
productIteratorin interfacescala.Product
-
canEqual
- Specified by:
canEqualin interfacescala.Equals
-
productElementName
- Specified by:
productElementNamein interfacescala.Product
-
hashCode
public int hashCode() -
toString
-
equals
-