Class Replicator.Get<A extends ReplicatedData>

java.lang.Object
org.apache.pekko.cluster.ddata.Replicator.Get<A>
All Implemented Interfaces:
Serializable, Replicator.Command<A>, Replicator.ReplicatorMessage, scala.Equals, scala.Product
Enclosing class:
Replicator

public static final class Replicator.Get<A extends ReplicatedData> extends Object implements Replicator.Command<A>, Replicator.ReplicatorMessage, 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.

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: