Class ReadSnapshot
- java.lang.Object
-
- org.apache.pekko.persistence.testkit.ReadSnapshot
-
- All Implemented Interfaces:
java.io.Serializable
,SnapshotOperation
,scala.Equals
,scala.Product
public final class ReadSnapshot extends java.lang.Object implements SnapshotOperation, scala.Product, java.io.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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ReadSnapshot(SnapshotSelectionCriteria criteria, scala.Option<java.lang.Object> snapshot)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ReadSnapshot
apply(SnapshotSelectionCriteria criteria, scala.Option<java.lang.Object> snapshot)
boolean
canEqual(java.lang.Object x$1)
ReadSnapshot
copy(SnapshotSelectionCriteria criteria, scala.Option<java.lang.Object> snapshot)
SnapshotSelectionCriteria
copy$default$1()
scala.Option<java.lang.Object>
copy$default$2()
SnapshotSelectionCriteria
criteria()
boolean
equals(java.lang.Object x$1)
java.util.Optional<java.lang.Object>
getSnapshot()
SnapshotSelectionCriteria
getSnapshotSelectionCriteria()
int
hashCode()
int
productArity()
java.lang.Object
productElement(int x$1)
java.lang.String
productElementName(int x$1)
scala.collection.Iterator<java.lang.Object>
productIterator()
java.lang.String
productPrefix()
scala.Option<java.lang.Object>
snapshot()
java.lang.String
toString()
static scala.Option<scala.Tuple2<SnapshotSelectionCriteria,scala.Option<java.lang.Object>>>
unapply(ReadSnapshot x$0)
-
-
-
Constructor Detail
-
ReadSnapshot
public ReadSnapshot(SnapshotSelectionCriteria criteria, scala.Option<java.lang.Object> snapshot)
-
-
Method Detail
-
apply
public static ReadSnapshot apply(SnapshotSelectionCriteria criteria, scala.Option<java.lang.Object> snapshot)
-
unapply
public static scala.Option<scala.Tuple2<SnapshotSelectionCriteria,scala.Option<java.lang.Object>>> unapply(ReadSnapshot x$0)
-
criteria
public SnapshotSelectionCriteria criteria()
-
snapshot
public scala.Option<java.lang.Object> snapshot()
-
getSnapshotSelectionCriteria
public SnapshotSelectionCriteria getSnapshotSelectionCriteria()
-
getSnapshot
public java.util.Optional<java.lang.Object> getSnapshot()
-
copy
public ReadSnapshot copy(SnapshotSelectionCriteria criteria, scala.Option<java.lang.Object> snapshot)
-
copy$default$1
public SnapshotSelectionCriteria copy$default$1()
-
copy$default$2
public scala.Option<java.lang.Object> copy$default$2()
-
productPrefix
public java.lang.String productPrefix()
- Specified by:
productPrefix
in interfacescala.Product
-
productArity
public int productArity()
- Specified by:
productArity
in interfacescala.Product
-
productElement
public java.lang.Object productElement(int x$1)
- Specified by:
productElement
in interfacescala.Product
-
productIterator
public scala.collection.Iterator<java.lang.Object> productIterator()
- Specified by:
productIterator
in interfacescala.Product
-
canEqual
public boolean canEqual(java.lang.Object x$1)
- Specified by:
canEqual
in interfacescala.Equals
-
productElementName
public java.lang.String productElementName(int x$1)
- Specified by:
productElementName
in interfacescala.Product
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object x$1)
- Specified by:
equals
in interfacescala.Equals
- Overrides:
equals
in classjava.lang.Object
-
-