akka.persistence
Class PersistenceFailure
java.lang.Object
akka.persistence.PersistenceFailure
- All Implemented Interfaces:
- java.io.Serializable, scala.Equals, scala.Product
public class PersistenceFailure
- extends java.lang.Object
- implements scala.Product, scala.Serializable
Sent to a Processor
if a journal fails to write a Persistent
message. If
not handled, an akka.actor.ActorKilledException
is thrown by that processor.
param: payload payload of the persistent message.
param: sequenceNr sequence number of the persistent message.
param: cause failure cause.
- See Also:
- Serialized Form
Constructor Summary |
PersistenceFailure(java.lang.Object payload,
long sequenceNr,
java.lang.Throwable cause)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface scala.Product |
productArity, productElement, productIterator, productPrefix |
Methods inherited from interface scala.Equals |
canEqual, equals |
PersistenceFailure
public PersistenceFailure(java.lang.Object payload,
long sequenceNr,
java.lang.Throwable cause)
payload
public java.lang.Object payload()
sequenceNr
public long sequenceNr()
cause
public java.lang.Throwable cause()