Package org.apache.pekko.persistence
Class SaveSnapshotFailure
java.lang.Object
org.apache.pekko.persistence.SaveSnapshotFailure
- All Implemented Interfaces:
Serializable
,NoSerializationVerificationNeeded
,Protocol.Message
,SnapshotProtocol.Message
,SnapshotProtocol.Response
,scala.Equals
,scala.Product
public final class SaveSnapshotFailure
extends Object
implements SnapshotProtocol.Response, scala.Product, Serializable
Sent to a
PersistentActor
after failed saving of a snapshot.
param: metadata snapshot metadata. param: cause failure cause.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SaveSnapshotFailure
apply
(SnapshotMetadata metadata, Throwable cause) boolean
cause()
copy
(SnapshotMetadata metadata, Throwable cause) boolean
int
hashCode()
metadata()
int
productElement
(int x$1) productElementName
(int x$1) scala.collection.Iterator<Object>
toString()
static scala.Option<scala.Tuple2<SnapshotMetadata,
Throwable>> Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface scala.Product
productElementNames
-
Constructor Details
-
SaveSnapshotFailure
-
-
Method Details
-
apply
-
unapply
public static scala.Option<scala.Tuple2<SnapshotMetadata,Throwable>> unapply(SaveSnapshotFailure x$0) -
metadata
-
cause
-
copy
-
copy$default$1
-
copy$default$2
-
productPrefix
- Specified by:
productPrefix
in interfacescala.Product
-
productArity
public int productArity()- Specified by:
productArity
in interfacescala.Product
-
productElement
- Specified by:
productElement
in interfacescala.Product
-
productIterator
- Specified by:
productIterator
in interfacescala.Product
-
canEqual
- Specified by:
canEqual
in interfacescala.Equals
-
productElementName
- Specified by:
productElementName
in interfacescala.Product
-
hashCode
public int hashCode() -
toString
-
equals
-