Delete

org.apache.pekko.cluster.ddata.Replicator.Delete
final case class Delete[A <: ReplicatedData](key: Key[A], consistency: WriteConsistency, request: Option[Any]) extends Command[A], NoSerializationVerificationNeeded

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
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Command[A]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Constructors

def this(key: Key[A], consistency: WriteConsistency)

Attributes

Source
Replicator.scala
def this(key: Key[A], consistency: WriteConsistency, request: Optional[Any])

Attributes

Source
Replicator.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product