Package org.apache.pekko.cluster.ddata
Class Replicator.Delete<A extends ReplicatedData>
java.lang.Object
org.apache.pekko.cluster.ddata.Replicator.Delete<A>
- All Implemented Interfaces:
Serializable,NoSerializationVerificationNeeded,Replicator.Command<A>,scala.Equals,scala.Product
- Enclosing class:
- Replicator
public static final class Replicator.Delete<A extends ReplicatedData>
extends Object
implements Replicator.Command<A>, NoSerializationVerificationNeeded, scala.Product, Serializable
Send this message to the local
Replicator to delete a data value for the
given key. The Replicator will reply with one of the Replicator.DeleteResponse messages.
The optional request context is included in the reply messages. This is a convenient
way to pass contextual information (e.g. original sender) without having to use ask
or maintain local correlation data structures.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDelete(Key<A> key, Replicator.WriteConsistency consistency) Delete(Key<A> key, Replicator.WriteConsistency consistency, scala.Option<Object> request) -
Method Summary
Modifier and TypeMethodDescriptionboolean<A extends ReplicatedData>
Replicator.Delete<A>copy(Key<A> key, Replicator.WriteConsistency consistency, scala.Option<Object> request) <A extends ReplicatedData>
Key<A><A extends ReplicatedData>
Replicator.WriteConsistency<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 java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface scala.Product
productElementNames
-
Constructor Details
-
Delete
-
Delete
-
Delete
-
-
Method Details
-
key
- Specified by:
keyin interfaceReplicator.Command<A extends ReplicatedData>
-
consistency
-
request
-
copy
public <A extends ReplicatedData> Replicator.Delete<A> copy(Key<A> key, Replicator.WriteConsistency consistency, scala.Option<Object> request) -
copy$default$1
-
copy$default$2
-
copy$default$3
-
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
-