Get
final case class Get[A <: ReplicatedData](key: Key[A], consistency: ReadConsistency, request: Option[Any]) extends Command[A] with ReplicatorMessage
Send this message to the local Replicator
to retrieve a data value for the
given key
. The Replicator
will reply with one of the 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.
- Source:
- Replicator.scala
trait Product
trait Equals
trait ReplicatorMessage
trait Serializable
trait Command[A]
class Object
trait Matchable
class Any
Value members
Constructors
Java API: Get
value from local Replicator
, i.e. ReadLocal
consistency.
Java API: Get
value from local Replicator
, i.e. ReadLocal
consistency.
- Source:
- Replicator.scala
Java API: Get
value from local Replicator
, i.e. ReadLocal
consistency.
Java API: Get
value from local Replicator
, i.e. ReadLocal
consistency.
- Source:
- Replicator.scala