Packages

  • package root
    Definition Classes
    root
  • package akka
    Definition Classes
    root
  • package cluster
    Definition Classes
    akka
  • package ddata
    Definition Classes
    cluster
  • object DurableStore

    An actor implementing the durable store for the Distributed Data Replicator has to implement the protocol with the messages defined here.

    An actor implementing the durable store for the Distributed Data Replicator has to implement the protocol with the messages defined here.

    At startup the Replicator creates the durable store actor and sends the Load message to it. It must then reply with 0 or more LoadData messages followed by one LoadAllCompleted message to the sender (the Replicator).

    If the LoadAll fails it can throw LoadFailed and the Replicator supervisor will stop itself and the durable store.

    When the Replicator needs to store a value it sends a Store message to the durable store actor, which must then reply with the successMsg or failureMsg to the replyTo.

    Definition Classes
    ddata
  • DurableDataEnvelope
  • LoadAll
  • LoadAllCompleted
  • LoadData
  • LoadFailed
  • Store
  • StoreReply
c

akka.cluster.ddata.DurableStore

DurableDataEnvelope

final class DurableDataEnvelope extends ReplicatorMessage

Wrapper class for serialization of a data value. The ReplicatorMessageSerializer will serialize/deserialize the wrapped ReplicatedData including its serializerId and manifest.

Source
DurableStore.scala
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DurableDataEnvelope
  2. ReplicatorMessage
  3. Serializable
  4. Serializable
  5. AnyRef
  6. 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 DurableDataEnvelope(data: ReplicatedData)

Value Members

  1. def data: ReplicatedData
  2. def equals(o: Any): Boolean
    Definition Classes
    DurableDataEnvelope → AnyRef → Any
  3. def hashCode(): Int
    Definition Classes
    DurableDataEnvelope → AnyRef → Any
  4. def toString(): String
    Definition Classes
    DurableDataEnvelope → AnyRef → Any