Package akka.persistence
Class JournalProtocol.WriteMessageFailure
- java.lang.Object
-
- akka.persistence.JournalProtocol.WriteMessageFailure
-
- All Implemented Interfaces:
NoSerializationVerificationNeeded
,JournalProtocol.Message
,JournalProtocol.Response
,Protocol.Message
,java.io.Serializable
,scala.Equals
,scala.Product
- Enclosing class:
- JournalProtocol
public static final class JournalProtocol.WriteMessageFailure extends java.lang.Object implements JournalProtocol.Response, NoSerializationVerificationNeeded, scala.Product, java.io.Serializable
Reply message to a failedJournalProtocol.WriteMessages
request. For each containedPersistentRepr
message in the request, a separate reply is sent to the requestor.param: message message failed to be written. param: cause failure cause.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WriteMessageFailure(PersistentRepr message, java.lang.Throwable cause, int actorInstanceId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
actorInstanceId()
boolean
canEqual(java.lang.Object x$1)
java.lang.Throwable
cause()
JournalProtocol.WriteMessageFailure
copy(PersistentRepr message, java.lang.Throwable cause, int actorInstanceId)
PersistentRepr
copy$default$1()
java.lang.Throwable
copy$default$2()
int
copy$default$3()
boolean
equals(java.lang.Object x$1)
int
hashCode()
PersistentRepr
message()
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()
java.lang.String
toString()
-
-
-
Constructor Detail
-
WriteMessageFailure
public WriteMessageFailure(PersistentRepr message, java.lang.Throwable cause, int actorInstanceId)
-
-
Method Detail
-
message
public PersistentRepr message()
-
cause
public java.lang.Throwable cause()
-
actorInstanceId
public int actorInstanceId()
-
copy
public JournalProtocol.WriteMessageFailure copy(PersistentRepr message, java.lang.Throwable cause, int actorInstanceId)
-
copy$default$1
public PersistentRepr copy$default$1()
-
copy$default$2
public java.lang.Throwable copy$default$2()
-
copy$default$3
public int copy$default$3()
-
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
-
-