Attributes
- Companion
- class
- Source
- Replicator.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Replicator.type
Members list
Type members
Classlikes
The data value is retrieved with get using the typed key.
The data value is retrieved with get using the typed key.
Attributes
- See also
- Source
- Replicator.scala
- Supertypes
-
trait Producttrait Equalstrait ReplicatorMessagetrait Serializabletrait SubscribeResponse[A]class Objecttrait Matchableclass AnyShow all
Attributes
- Source
- Replicator.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
Attributes
- Source
- Replicator.scala
- Supertypes
-
trait Producttrait Equalstrait DeleteResponse[A]trait NoStackTraceclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Send this message to the local Replicator
to delete a data value for the given key
. The Replicator
will reply with one of the DeleteResponse messages.
Send this message to the local Replicator
to delete a data value for the given key
. The Replicator
will reply with one of the DeleteResponse 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.
Attributes
- Source
- Replicator.scala
- Supertypes
Attributes
- Source
- Replicator.scala
- Supertypes
- Known subtypes
Attributes
- Source
- Replicator.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait DeleteResponse[A]class Objecttrait Matchableclass AnyShow all
Attributes
- See also
- Source
- Replicator.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SubscribeResponse[A]class Objecttrait Matchableclass AnyShow all
Notify subscribers of changes now, otherwise they will be notified periodically with the configured notify-subscribers-interval
.
Notify subscribers of changes now, otherwise they will be notified periodically with the configured notify-subscribers-interval
.
Attributes
- Source
- Replicator.scala
- Supertypes
- Self type
-
FlushChanges.type
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.
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.
Attributes
- Source
- Replicator.scala
- Supertypes
-
trait Producttrait Equalstrait ReplicatorMessagetrait Serializabletrait Command[A]class Objecttrait Matchableclass AnyShow all
The Get request couldn't be performed because the entry has been deleted.
The Get request couldn't be performed because the entry has been deleted.
Attributes
- Source
- Replicator.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass GetResponse[A]class Objecttrait Matchableclass AnyShow all
The Get request could not be fulfill according to the given consistency level and timeout.
The Get request could not be fulfill according to the given consistency level and timeout.
Attributes
- Source
- Replicator.scala
- Supertypes
-
trait Producttrait Equalstrait ReplicatorMessagetrait Serializableclass GetResponse[A]class Objecttrait Matchableclass AnyShow all
Get current number of replicas, including the local replica. Will reply to sender with ReplicaCount.
Get current number of replicas, including the local replica. Will reply to sender with ReplicaCount.
Attributes
- Source
- Replicator.scala
- Supertypes
- Self type
-
GetReplicaCount.type
Attributes
- Source
- Replicator.scala
- Supertypes
- Known subtypes
Reply from Get
. The data value is retrieved with get using the typed key.
Reply from Get
. The data value is retrieved with get using the typed key.
Attributes
- Source
- Replicator.scala
- Supertypes
-
trait Producttrait Equalstrait ReplicatorMessagetrait Serializableclass GetResponse[A]class Objecttrait Matchableclass AnyShow all
If the modify
function of the Update throws an exception the reply message will be this ModifyFailure
message. The original exception is included as cause
.
If the modify
function of the Update throws an exception the reply message will be this ModifyFailure
message. The original exception is included as cause
.
Attributes
- Source
- Replicator.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass UpdateFailure[A]class UpdateResponse[A]class Objecttrait Matchableclass AnyShow all
Attributes
- Source
- Replicator.scala
- Supertypes
-
trait Producttrait Equalstrait ReplicatorMessagetrait Serializableclass GetResponse[A]class Objecttrait Matchableclass AnyShow all
Attributes
- Source
- Replicator.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ReadConsistencyclass Objecttrait Matchableclass AnyShow all
Attributes
- Source
- Replicator.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
Attributes
- Source
- Replicator.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ReadConsistencyclass Objecttrait Matchableclass AnyShow all
Attributes
- Source
- Replicator.scala
- Supertypes
- Self type
-
ReadLocal.type
Attributes
- Source
- Replicator.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ReadConsistencyclass Objecttrait Matchableclass AnyShow all
ReadMajority
but with the given number of additional
nodes added to the majority count. At most all nodes. Exiting nodes are excluded using ReadMajorityPlus
because those are typically about to be removed and will not be able to respond.
ReadMajority
but with the given number of additional
nodes added to the majority count. At most all nodes. Exiting nodes are excluded using ReadMajorityPlus
because those are typically about to be removed and will not be able to respond.
Attributes
- Source
- Replicator.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ReadConsistencyclass Objecttrait Matchableclass AnyShow all
Current number of replicas. Reply to GetReplicaCount
.
Attributes
- Source
- Replicator.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait DeleteResponse[A]class Objecttrait Matchableclass AnyShow all
Marker trait for remote messages serialized by pekko.cluster.ddata.protobuf.ReplicatorMessageSerializer.
Marker trait for remote messages serialized by pekko.cluster.ddata.protobuf.ReplicatorMessageSerializer.
Attributes
- Source
- Replicator.scala
- Supertypes
-
trait Serializableclass Objecttrait Matchableclass Any
- Known subtypes
-
class DurableDataEnvelopeclass Changed[A]class Get[A]class GetFailure[A]class GetSuccess[A]class NotFound[A]class Subscribe[A]class Unsubscribe[A]Show all
The local store or direct replication of the Update could not be fulfill according to the given consistency level due to durable store errors. This is only used for entries that have been configured to be durable.
The local store or direct replication of the Update could not be fulfill according to the given consistency level due to durable store errors. This is only used for entries that have been configured to be durable.
The Update
was still performed in memory locally and possibly replicated to some nodes, but it might not have been written to durable storage. It will eventually be disseminated to other replicas, unless the local replica crashes before it has been able to communicate with other replicas.
Attributes
- Source
- Replicator.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait DeleteResponse[A]class UpdateFailure[A]class UpdateResponse[A]class Objecttrait Matchableclass AnyShow all
Register a subscriber that will be notified with a Changed message when the value of the given key
is changed. Current value is also sent as a Changed message to a new subscriber.
Register a subscriber that will be notified with a Changed message when the value of the given key
is changed. Current value is also sent as a Changed message to a new subscriber.
Subscribers will be notified periodically with the configured notify-subscribers-interval
, and it is also possible to send an explicit FlushChanges
message to the Replicator
to notify the subscribers immediately.
The subscriber will automatically be unregistered if it is terminated.
If the key is deleted the subscriber is notified with a Deleted message.
Attributes
- Source
- Replicator.scala
- Supertypes
-
trait Producttrait Equalstrait ReplicatorMessagetrait Serializableclass Objecttrait Matchableclass AnyShow all
Attributes
- See also
- Source
- Replicator.scala
- Supertypes
- Known subtypes
Unregister a subscriber.
Unregister a subscriber.
Attributes
- See also
- Source
- Replicator.scala
- Supertypes
-
trait Producttrait Equalstrait ReplicatorMessagetrait Serializableclass Objecttrait Matchableclass AnyShow all
Send this message to the local Replicator
to update a data value for the given key
. The Replicator
will reply with one of the UpdateResponse messages.
Send this message to the local Replicator
to update a data value for the given key
. The Replicator
will reply with one of the UpdateResponse messages.
Note that the companion object provides apply
functions for convenient construction of this message.
The current data value for the key
is passed as parameter to the modify
function. It is None
if there is no value for the key
, and otherwise Some(data)
. The function is supposed to return the new value of the data, which will then be replicated according to the given writeConsistency
.
The modify
function is called by the Replicator
actor and must therefore be a pure function that only uses the data parameter and stable fields from enclosing scope. It must for example not access sender()
reference of an enclosing actor.
Attributes
- Companion
- object
- Source
- Replicator.scala
- Supertypes
Attributes
- Companion
- class
- Source
- Replicator.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Update.type
The Update couldn't be performed because the entry has been deleted.
The Update couldn't be performed because the entry has been deleted.
Attributes
- Source
- Replicator.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass UpdateResponse[A]class Objecttrait Matchableclass AnyShow all
Attributes
- Source
- Replicator.scala
- Supertypes
- Known subtypes
Attributes
- Source
- Replicator.scala
- Supertypes
- Known subtypes
-
class UpdateDataDeleted[A]class UpdateFailure[A]class ModifyFailure[A]class StoreFailure[A]class UpdateTimeout[A]class UpdateSuccess[A]Show all
Attributes
- Source
- Replicator.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait DeadLetterSuppressionclass UpdateResponse[A]class Objecttrait Matchableclass AnyShow all
The direct replication of the Update could not be fulfill according to the given consistency level and timeout.
The direct replication of the Update could not be fulfill according to the given consistency level and timeout.
The Update
was still performed locally and possibly replicated to some nodes. It will eventually be disseminated to other replicas, unless the local replica crashes before it has been able to communicate with other replicas.
Attributes
- Source
- Replicator.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass UpdateFailure[A]class UpdateResponse[A]class Objecttrait Matchableclass AnyShow all
Attributes
- Source
- Replicator.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WriteConsistencyclass Objecttrait Matchableclass AnyShow all
Attributes
- Source
- Replicator.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
Attributes
- Source
- Replicator.scala
- Supertypes
- Self type
-
WriteLocal.type
Attributes
- Source
- Replicator.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WriteConsistencyclass Objecttrait Matchableclass AnyShow all
WriteMajority
but with the given number of additional
nodes added to the majority count. At most all nodes. Exiting nodes are excluded using WriteMajorityPlus
because those are typically about to be removed and will not be able to respond.
WriteMajority
but with the given number of additional
nodes added to the majority count. At most all nodes. Exiting nodes are excluded using WriteMajorityPlus
because those are typically about to be removed and will not be able to respond.
Attributes
- Source
- Replicator.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WriteConsistencyclass Objecttrait Matchableclass AnyShow all
Attributes
- Source
- Replicator.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait WriteConsistencyclass Objecttrait Matchableclass AnyShow all
Value members
Concrete methods
Java API: The FlushChanges
instance
Java API: The GetReplicaCount
instance
Factory method for the pekko.actor.Props of the Replicator actor.
Factory method for the pekko.actor.Props of the Replicator actor.
Attributes
- Source
- Replicator.scala
Java API: The ReadLocal
instance
Java API: The WriteLocal
instance
Concrete fields
Attributes
- Source
- Replicator.scala