Package org.apache.pekko.persistence
Class SnapshotProtocol.LoadSnapshot
java.lang.Object
org.apache.pekko.persistence.SnapshotProtocol.LoadSnapshot
- All Implemented Interfaces:
Serializable,NoSerializationVerificationNeeded,Protocol.Message,SnapshotProtocol.Message,SnapshotProtocol.Request,scala.Equals,scala.Product
- Enclosing class:
- SnapshotProtocol
public static final class SnapshotProtocol.LoadSnapshot
extends Object
implements SnapshotProtocol.Request, scala.Product, Serializable
Instructs a snapshot store to load a snapshot.
param: persistenceId persistent actor id. param: criteria criteria for selecting a snapshot from which recovery should start. param: toSequenceNr upper sequence number bound (inclusive) for recovery.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionLoadSnapshot(String persistenceId, SnapshotSelectionCriteria criteria, long toSequenceNr) -
Method Summary
Modifier and TypeMethodDescriptionbooleancopy(String persistenceId, SnapshotSelectionCriteria criteria, long toSequenceNr) longcriteria()booleaninthashCode()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
-
LoadSnapshot
-
-
Method Details
-
persistenceId
-
criteria
-
toSequenceNr
public long toSequenceNr() -
copy
public SnapshotProtocol.LoadSnapshot copy(String persistenceId, SnapshotSelectionCriteria criteria, long toSequenceNr) -
copy$default$1
-
copy$default$2
-
copy$default$3
public long copy$default$3() -
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
-