Class Replicator.Get<A extends ReplicatedData>
java.lang.Object
org.apache.pekko.cluster.ddata.typed.javadsl.Replicator.Get<A>
- All Implemented Interfaces:
Serializable,Replicator.Command,Replicator.Command,scala.Equals,scala.Product
- Enclosing class:
- Replicator
public static final class Replicator.Get<A extends ReplicatedData>
extends Object
implements Replicator.Command, scala.Product, Serializable
Send this message to the local
Replicator to retrieve a data value for the
given key. The Replicator will reply with one of the Replicator.GetResponse messages.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionGet(Key<A> key, Replicator.ReadConsistency consistency, ActorRef<Replicator.GetResponse<A>> replyTo) -
Method Summary
Modifier and TypeMethodDescriptionboolean<A extends ReplicatedData>
Replicator.Get<A>copy(Key<A> key, Replicator.ReadConsistency consistency, ActorRef<Replicator.GetResponse<A>> replyTo) <A extends ReplicatedData>
Key<A><A extends ReplicatedData>
Replicator.ReadConsistency<A extends ReplicatedData>
ActorRef<Replicator.GetResponse<A>>booleaninthashCode()key()intproductElement(int x$1) productElementName(int x$1) scala.collection.Iterator<Object>replyTo()toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface scala.Product
productElementNames
-
Constructor Details
-
Get
public Get(Key<A> key, Replicator.ReadConsistency consistency, ActorRef<Replicator.GetResponse<A>> replyTo)
-
-
Method Details
-
key
-
consistency
-
replyTo
-
copy
public <A extends ReplicatedData> Replicator.Get<A> copy(Key<A> key, Replicator.ReadConsistency consistency, ActorRef<Replicator.GetResponse<A>> replyTo) -
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
-