MBrace local cluster simulator


ClusterState

Namespace: MBrace.Thespian.Runtime

Serializable MBrace.Thespian cluster state client object. Used for all interactions with the cluster

Record Fields

Record FieldDescription
Id
Signature: RuntimeId

Unique cluster identifier object

IsWorkerHosted
Signature: bool

Indicates that the runtime is hosted by an MBrace worker instance.

LocalStateFactory
Signature: LocalStateFactory

Local node state factory instance

ProcessManager
Signature: CloudProcessManager

Cloud process instance

ResourceFactory
Signature: ResourceFactory

Resource factory instace used for instantiating resources in the cluster state hosting process

Resources
Signature: ResourceRegistry

Misc resources appended to runtime state

Serializer
Signature: ISerializer

Default serializer instance

StoreCloudValueProvider
Signature: StoreCloudValueProvider

CloudValue provider instance used by runtime

Uri
Signature: string

Thespian address of the runtime state hosting process

WorkerManager
Signature: WorkerManager

Cluster worker monitor

WorkItemQueue
Signature: WorkItemQueue

Cloud work item queue instance

Instance members

Instance memberDescription
GetLocalRuntimeManager()
Signature: unit -> IRuntimeManager

Creates a IRuntimeManager instance using provided state and given local logger instance.

Static members

Static memberDescription
Create(...)
Signature: (fileStore:ICloudFileStore * isWorkerHosted:bool * userDataDirectory:string option * workItemsDirectory:string option * maxLogWriteInterval:TimeSpan option * assemblyDirectory:string option * cacheDirectory:string option * miscResources:ResourceRegistry option) -> ClusterState

Creates a cluster state object that is hosted in the local process

Fork me on GitHub