MBrace local cluster simulator


ThespianWorker

Namespace: MBrace.Thespian

Defines a client object used for administering MBrace worker processes.

Instance members

Instance memberDescription
IsIdle
Signature: bool

Gets whether worker process is idle.

CompiledName: get_IsIdle

IsMasterNode
Signature: bool

Gets whether worker process acts as host (master node) to an MBrace cluster.

CompiledName: get_IsMasterNode

IsWorkerNode
Signature: bool

Gets whether worker process is subscribed (slave node) to an MBrace cluster state.

CompiledName: get_IsWorkerNode

Kill(signal)
Signature: (signal:int option) -> unit

Sends a kill signal to the worker process.

Reset()
Signature: unit -> unit

Resets the cluster state of the worker process.

Uri
Signature: string

MBrace uri identifier for worker instance.

CompiledName: get_Uri

Static members

Static memberDescription
Connect(worker)
Signature: worker:IWorkerRef -> ThespianWorker

Gets an MBrace worker client instance from supplied WorkerRef object.

Connect(uri)
Signature: uri:string -> ThespianWorker

Connects to an MBrace worker process with supplied MBrace uri.

LocalExecutable()
Signature: unit -> string

Gets or sets a local path to the MBrace.Thespian worker executable. This is used for spawning of child worker processes from the client.

CompiledName: set_LocalExecutable

LocalExecutable()
Signature: unit -> unit

Gets or sets a local path to the MBrace.Thespian worker executable. This is used for spawning of child worker processes from the client.

CompiledName: get_LocalExecutable

Spawn(...)
Signature: (hostname:string option * port:int option * workingDirectory:string option * maxConcurrentWorkItems:int option * maxLogWriteInterval:TimeSpan option * logLevel:LogLevel option * logFiles:seq<string> option * useAppDomainIsolation:bool option * runAsBackground:bool option * quiet:bool option * heartbeatInterval:TimeSpan option * heartbeatThreshold:TimeSpan option) -> ThespianWorker

Spawns a new worker process in the current machine with supplied configuration parameters.

SpawnAsync(...)
Signature: (hostname:string option * port:int option * workingDirectory:string option * maxConcurrentWorkItems:int option * maxLogWriteInterval:TimeSpan option * logLevel:LogLevel option * logFiles:seq<string> option * useAppDomainIsolation:bool option * runAsBackground:bool option * quiet:bool option * heartbeatInterval:TimeSpan option * heartbeatThreshold:TimeSpan option) -> Async<ThespianWorker>

Asynchronously spawns a new worker process in the current machine with supplied configuration parameters.

Fork me on GitHub