Class PersistenceFailure

  extended by 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)
Method Summary
 java.lang.Throwable cause()
 java.lang.Object payload()
 long sequenceNr()
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

Constructor Detail


public PersistenceFailure(java.lang.Object payload,
                          long sequenceNr,
                          java.lang.Throwable cause)
Method Detail


public java.lang.Object payload()


public long sequenceNr()


public java.lang.Throwable cause()