final case class Get[A <: ReplicatedData](key: Key[A], consistency: ReadConsistency, request: Option[Any] = None) extends Command[A] with ReplicatorMessage with Product with 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 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
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Get
  2. Product
  3. Equals
  4. ReplicatorMessage
  5. Serializable
  6. Serializable
  7. Command
  8. AnyRef
  9. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Get(key: Key[A], consistency: ReadConsistency, request: Optional[Any])

    Java API: Get value from local Replicator, i.e.

    Java API: Get value from local Replicator, i.e. ReadLocal consistency.

  2. new Get(key: Key[A], consistency: ReadConsistency)

    Java API: Get value from local Replicator, i.e.

    Java API: Get value from local Replicator, i.e. ReadLocal consistency.

  3. new Get(key: Key[A], consistency: ReadConsistency, request: Option[Any] = None)

Value Members

  1. val consistency: ReadConsistency
  2. val key: Key[A]
    Definition Classes
    GetCommand
  3. val request: Option[Any]