CloudDictionaryExtensions
Namespace: MBrace.Core
Static members
Static member | Description |
AddOrUpdate(...)
Signature: (this:CloudDictionary<'T> * key:string * updater:('T option -> 'T) * maxRetries:int option) -> 'T
Type parameters: 'T |
Atomically adds or updates a key/value entry. Returns the updated value. |
AddOrUpdateAsync(...)
Signature: (this:CloudDictionary<'T> * key:string * updater:('T option -> 'T) * maxRetries:int option) -> Async<'T>
Type parameters: 'T |
Atomically adds or updates a key/value entry. Returns the updated value. |
ContainsKey(this, key)
Signature: (this:CloudDictionary<'T> * key:string) -> bool
Type parameters: 'T |
Checks if supplied key is contained in dictionary. |
ForceAdd(this, key, value)
Signature: (this:CloudDictionary<'T> * key:string * value:'T) -> unit
Type parameters: 'T |
Force add a new key/value pair to dictionary. |
Remove(this, key)
Signature: (this:CloudDictionary<'T> * key:string) -> bool
Type parameters: 'T |
Removes entry of supplied key from dictionary. |
Transact(...)
Signature: (this:CloudDictionary<'T> * key:string * transacter:('T option -> 'R * 'T) * maxRetries:int option) -> 'R
Type parameters: 'T, 'R |
Performs a transaction on value contained in provided key |
TryAdd(this, key, value)
Signature: (this:CloudDictionary<'T> * key:string * value:'T) -> bool
Type parameters: 'T |
Try adding a new key/value pair to dictionary. Returns true if successful. |
TryFind(this, key)
Signature: (this:CloudDictionary<'T> * key:string) -> 'T option
Type parameters: 'T |
Try reading value for entry of supplied key. |
Update(this, key, updater, maxRetries)
Signature: (this:CloudDictionary<'T> * key:string * updater:('T -> 'T) * maxRetries:int option) -> 'T
Type parameters: 'T |
Atomically updates a key/value entry. Returns the updated value. |
UpdateAsync(...)
Signature: (this:CloudDictionary<'T> * key:string * updater:('T -> 'T) * maxRetries:int option) -> Async<'T>
Type parameters: 'T |
Atomically updates a key/value entry. Returns the updated value. |