The ClusterJobScheduler type exposes the following members.

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 CheckCapability(ICapabilityCheck)
Checks capability on all the agents.
Public method CheckCapability(ICapabilityCheck, IList<(Of <<'(TaskPrecondition>)>>))
Checks capability on agents which meets the specified precondition.
Public method Connect
Connects client to specified cluster 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 specified job scheduler.
Public method Dispose
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetAgentInfo
Returns the list of agents and their current states.
Public method GetHashCode (Inherited from Object.)
Public method GetLicenseInfo
Gets the license info that matches the provided license parameters.
Public method GetMaximumHostCount
Returns the maximum number of hosts that is available to the job scheduler.
Public method GetType (Inherited from Object.)
Public method GetUserAuthorization
Determines whether the user is authorized for the job submission protocol.
Public method GetVersionInfo
Gets the version info of the job scheduler.
Protected method MemberwiseClone (Inherited from Object.)
Public method OnCoordinatorDisconnected
Called when the job scheduler connection with the coordinator is interrupted. Attempts to reestablish a connection with the coordinator until either a connection is obtained or the maximum number of attempts to reconnect has been reached.
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 the job scheduler can add the job to its queue.
Public method ToString (Overrides Object..::..ToString()()()().)
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.

See Also