MBrace.Core


CloudAtomClient

Namespace: MBrace.Core.Internals

Collection of client methods for CloudAtom API

Constructors

ConstructorDescription
new(provider)
Signature: provider:ICloudAtomProvider -> CloudAtomClient

CompiledName: .ctor

Instance members

Instance memberDescription
Create(initial, atomId, container)
Signature: (initial:'T * atomId:string option * container:string option) -> CloudAtom<'T>
Type parameters: 'T

Creates a new cloud atom instance with given value.

CreateAsync(initial, atomId, container)
Signature: (initial:'T * atomId:string option * container:string option) -> Async<CloudAtom<'T>>
Type parameters: 'T

Asynchronously creates a new cloud atom instance with given value.

Delete(atom)
Signature: atom:CloudAtom<'T> -> unit
Type parameters: 'T

Deletes the provided atom instance from store.

DeleteAsync(atom)
Signature: atom:CloudAtom<'T> -> Async<unit>
Type parameters: 'T

Deletes the provided atom instance from store.

DeleteContainer(container)
Signature: container:string -> unit

Deletes the provided atom container and all its contents.

DeleteContainerAsync(container)
Signature: container:string -> Async<unit>

Deletes the provided atom container and all its contents.

GetById(atomId, container)
Signature: (atomId:string * container:string option) -> CloudAtom<'T>
Type parameters: 'T

Attempt to recover an existing atom instance by its unique identifier and type.

GetByIdAsync(atomId, container)
Signature: (atomId:string * container:string option) -> Async<CloudAtom<'T>>
Type parameters: 'T

Asynchronously attempt to recover an existing atom instance by its unique identifier and type.

Id
Signature: string

CompiledName: get_Id

IsSupportedValue(value)
Signature: value:'T -> bool
Type parameters: 'T

Checks if value is supported by current table store.

Provider
Signature: ICloudAtomProvider

CompiledName: get_Provider

Static members

Static memberDescription
Create(resources)
Signature: resources:ResourceRegistry -> CloudAtomClient

Creates a CloudAtom client by resolving the local execution context.

Fork me on GitHub