final case class Get[A <: ReplicatedData](key: Key[A], consistency: ReadConsistency, request: Option[Any] = None) extends Command[A] with ReplicatorMessage with Product with Serializable
Ordering
- Alphabetic
- By Inheritance
Inherited
- Get
- Product
- Equals
- ReplicatorMessage
- Serializable
- Command
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new Get(key: Key[A], consistency: ReadConsistency, request: [Any])
Java API:
Get
value from localReplicator
, i.e.Java API:
Get
value from localReplicator
, i.e.ReadLocal
consistency. - new Get(key: Key[A], consistency: ReadConsistency)
Java API:
Get
value from localReplicator
, i.e.Java API:
Get
value from localReplicator
, i.e.ReadLocal
consistency. - new Get(key: Key[A], consistency: ReadConsistency, request: [Any] = None)
Send this message to the local
Replicator
to retrieve a data value for the givenkey
. TheReplicator
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 useask
or maintain local correlation data structures.