The EmbeddedJobScheduler type exposes the following members.

Constructors

  Name Description
Public method EmbeddedJobScheduler()()()()
Initializes a new instance of the EmbeddedJobScheduler class passing in the number of cores as the number of hosts to start.
Public method EmbeddedJobScheduler(Int32)
Initializes a new instance of the EmbeddedJobScheduler class passing in 32 as the number of tasks per host.
Public method EmbeddedJobScheduler(Int32, Int32)
Initializes a new instance of the EmbeddedJobScheduler class.

Methods

  Name Description
Public method CancelJob
Cancels the job with the specified id.
Public method CancelTask
Cancels the task with the specified id.
Public method Connect
Connects client to embedded scheduler.
Public method CreateJob
Returns a new job that can later be used to submit to the job scheduler.
Public method Disconnect
Disconnects client from embedded scheduler.
Public method Dispose
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetHostLog
Gets the host log.
Public method GetMaximumHostCount
Returns the maximum number of hosts that is available to the job scheduler.
Public method GetType (Inherited from Object.)
Public method GetVersionInfo
Gets the version info of the job scheduler.
Protected method MemberwiseClone (Inherited from Object.)
Public method PostMessage(Object, Guid)
Posts a message to the specified target mailbox.
Public method PostMessage(Object, Guid, Boolean)
Posts a message to the specified target mailbox.
Public method ReceiveMessage()()()()
Receives a message from the participant's mailbox. Blocks the current thread until a message arrives.
Public method ReceiveMessage(Guid%)
Receives a message from the participant's mailbox. Blocks the current thread until a message arrives.
Public method ReceiveMessage(Int32)
Receives a message from the participant's mailbox. Blocks the current thread until a message arrives.
Public method ReceiveMessage(Int32, Guid%)
Receives a message from the participant's mailbox. Blocks the current thread until a message arrives.
Public method SubmitJob
Submits job to the job scheduler so that the job scheduler can add the job to it's queue.
Public method ToString (Inherited from Object.)
Public method WaitUntilDone
Blocks until all tasks in this job complete or the operation times out. The callback passed in for the heartbeat is called with the period specified by the millisecondsHeartbeat argument.

Properties

  Name Description
Public property Id
Gets the id of this job scheduler.
Public property IsConnected
Gets a value indicating whether the job scheduler is connected.

Events

  Name Description
Public event NewMessage
Occurs when a new message arrives.

See Also