| DslDeleteT Method |
Constructs a message that, when send to
Replicator,
will perform a delete of a structure stored under provided
key,
and reply with
IDeleteResponse message.
A delete is irrecoverable - you cannot reinsert a value under the key that has been
deleted. If you try, a
DataDeleted response will be send back.
A deletion doesn't clear all of the memory used by the store. Some portion of it is
used to keep track of deleted records across the nodes.
Namespace:
Akka.DistributedData
Assembly:
Akka.DistributedData (in Akka.DistributedData.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax public static Delete Delete<T>(
IKey<T> key,
IWriteConsistency consistency,
Object request = null
)
where T : IReplicatedData
static member Delete :
key : IKey<'T> *
consistency : IWriteConsistency *
?request : Object
(* Defaults:
let _request = defaultArg request null
*)
-> Delete when 'T : IReplicatedData
Parameters
- key
- Type: Akka.DistributedDataIKeyT
Key, for which a value should be retrieved. - consistency
- Type: Akka.DistributedDataIWriteConsistency
A consistency level determining when/how response will be retrieved. - request (Optional)
- Type: SystemObject
An object added to both generated Get request and
IGetResponse. Can be used i.e. as correlation id.
Type Parameters
- T
- Replicated data type.
Return Value
Type:
DeleteTBD
See Also