Class ReadSnapshot
java.lang.Object
org.apache.pekko.persistence.testkit.ReadSnapshot
- All Implemented Interfaces:
Serializable,SnapshotOperation,scala.Equals,scala.Product
public final class ReadSnapshot
extends Object
implements SnapshotOperation, scala.Product, Serializable
Storage read operation for recovery of the persistent actor.
param: criteria criteria with which snapshot is searched param: snapshot snapshot found by criteria
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionReadSnapshot(SnapshotSelectionCriteria criteria, scala.Option<Object> snapshot) -
Method Summary
Modifier and TypeMethodDescriptionstatic ReadSnapshotapply(SnapshotSelectionCriteria criteria, scala.Option<Object> snapshot) booleancopy(SnapshotSelectionCriteria criteria, scala.Option<Object> snapshot) scala.Option<Object>criteria()booleaninthashCode()intproductElement(int x$1) productElementName(int x$1) scala.collection.Iterator<Object>scala.Option<Object>snapshot()toString()static scala.Option<scala.Tuple2<SnapshotSelectionCriteria,scala.Option<Object>>> unapply(ReadSnapshot x$0) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface scala.Product
productElementNames
-
Constructor Details
-
ReadSnapshot
-
-
Method Details
-
apply
-
unapply
public static scala.Option<scala.Tuple2<SnapshotSelectionCriteria,scala.Option<Object>>> unapply(ReadSnapshot x$0) -
criteria
-
snapshot
-
getSnapshotSelectionCriteria
-
getSnapshot
-
copy
-
copy$default$1
-
copy$default$2
-
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
-