MBrace.Core


ICloudAtomProvider

Namespace: MBrace.Core.Internals

Defines a factory for distributed atoms

Instance members

Instance memberDescription
CreateAtom(container, atomId, initValue)
Signature: (container:string * atomId:string * initValue:'T) -> Async<CloudAtom<'T>>
Modifiers: abstract
Type parameters: 'T

Creates a new atom instance with given initial value.

DefaultContainer
Signature: string
Modifiers: abstract

Gets the default container used by the atom provider

CompiledName: get_DefaultContainer

DisposeContainer(container)
Signature: container:string -> Async<unit>
Modifiers: abstract

Disposes all atoms in provided container

GetAtomById(container, atomId)
Signature: (container:string * atomId:string) -> Async<CloudAtom<'T>>
Modifiers: abstract
Type parameters: 'T

Gets an already existing CloudAtom of specified identifiers and type.

GetRandomAtomIdentifier()
Signature: unit -> string
Modifiers: abstract

Create a uniquely specified atom identifier.

GetRandomContainerName()
Signature: unit -> string
Modifiers: abstract

Create a uniquely specified atom container name.

Id
Signature: string
Modifiers: abstract

Cloud atom identifier

CompiledName: get_Id

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

Checks if provided value is supported in atom instances.

Name
Signature: string
Modifiers: abstract

Implementation name

CompiledName: get_Name

WithDefaultContainer(container)
Signature: container:string -> ICloudAtomProvider
Modifiers: abstract

Creates a copy of the atom provider with updated default container.

Fork me on GitHub