Click or drag to resize
Akka.NETDslDeleteT 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.42 (1.2.3.42)
Syntax
public static Delete Delete<T>(
	IKey<T> key,
	IWriteConsistency consistency,
	Object request = null
)
where 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: Delete
TBD
See Also