Package org.apache.pekko.cluster.ddata
Class Replicator.StoreFailure<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.StoreFailure<A>
- All Implemented Interfaces:
Serializable,NoSerializationVerificationNeeded,Replicator.DeleteResponse<A>,scala.Equals,scala.Product
- Enclosing class:
- Replicator
public static final class Replicator.StoreFailure<A extends ReplicatedData>
extends Replicator.UpdateFailure<A>
implements Replicator.DeleteResponse<A>, scala.Product, Serializable
The local store or direct replication of the
Replicator.Update could not be fulfill according to
the given consistency level due to durable store errors. This is
only used for entries that have been configured to be durable.
The Update was still performed in memory locally and possibly replicated to some nodes,
but it might not have been written to durable storage.
It will eventually be disseminated to other replicas, unless the local replica
crashes before it has been able to communicate with other replicas.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean<A extends ReplicatedData>
Replicator.StoreFailure<A><A extends ReplicatedData>
Key<A><A extends ReplicatedData>
scala.Option<Object>booleanJava APIinthashCode()key()intproductElement(int x$1) productElementName(int x$1) scala.collection.Iterator<Object>scala.Option<Object>request()toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface scala.Product
productElementNames
-
Constructor Details
-
StoreFailure
-
-
Method Details
-
key
- Specified by:
keyin interfaceReplicator.DeleteResponse<A extends ReplicatedData>- Specified by:
keyin classReplicator.UpdateResponse<A extends ReplicatedData>
-
request
- Specified by:
requestin interfaceReplicator.DeleteResponse<A extends ReplicatedData>- Specified by:
requestin classReplicator.UpdateResponse<A extends ReplicatedData>
-
getRequest
Java API- Specified by:
getRequestin interfaceReplicator.DeleteResponse<A extends ReplicatedData>- Overrides:
getRequestin classReplicator.UpdateResponse<A extends ReplicatedData>
-
copy
public <A extends ReplicatedData> Replicator.StoreFailure<A> copy(Key<A> key, scala.Option<Object> request) -
copy$default$1
-
copy$default$2
-
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() -
toString
-
equals
-