Package org.apache.pekko.cluster.ddata
Class Replicator.ModifyFailure<A extends ReplicatedData>
java.lang.Object
org.apache.pekko.cluster.ddata.Replicator.UpdateResponse<A>
org.apache.pekko.cluster.ddata.Replicator.UpdateFailure<A>
org.apache.pekko.cluster.ddata.Replicator.ModifyFailure<A>
- All Implemented Interfaces:
Serializable,NoSerializationVerificationNeeded,scala.Equals,scala.Product
- Enclosing class:
- Replicator
public static final class Replicator.ModifyFailure<A extends ReplicatedData>
extends Replicator.UpdateFailure<A>
implements scala.Product, Serializable
If the
modify function of the Replicator.Update throws an exception the reply message
will be this ModifyFailure message. The original exception is included as cause.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancause()<A extends ReplicatedData>
Replicator.ModifyFailure<A><A extends ReplicatedData>
Key<A><A extends ReplicatedData>
String<A extends ReplicatedData>
Throwable<A extends ReplicatedData>
scala.Option<Object>booleaninthashCode()key()intproductElement(int x$1) productElementName(int x$1) scala.collection.Iterator<Object>scala.Option<Object>request()toString()Methods inherited from class org.apache.pekko.cluster.ddata.Replicator.UpdateResponse
getRequestMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface scala.Product
productElementNames
-
Constructor Details
-
ModifyFailure
-
-
Method Details
-
key
- Specified by:
keyin classReplicator.UpdateResponse<A extends ReplicatedData>
-
errorMessage
-
cause
-
request
- Specified by:
requestin classReplicator.UpdateResponse<A extends ReplicatedData>
-
toString
-
copy
public <A extends ReplicatedData> Replicator.ModifyFailure<A> copy(Key<A> key, String errorMessage, Throwable cause, scala.Option<Object> request) -
copy$default$1
-
copy$default$2
-
copy$default$3
-
copy$default$4
-
productPrefix
- Specified by:
productPrefixin interfacescala.Product
-
productArity
public int productArity()- Specified by:
productArityin interfacescala.Product
-
productElement
- Specified by:
productElementin interfacescala.Product
-
productIterator
- Specified by:
productIteratorin interfacescala.Product
-
canEqual
- Specified by:
canEqualin interfacescala.Equals
-
productElementName
- Specified by:
productElementNamein interfacescala.Product
-
hashCode
public int hashCode() -
equals
-