Click or drag to resize

ClusterJobScheduler Methods

The ClusterJobScheduler type exposes the following members.

Methods
  NameDescription
Public methodCancelJob
Cancels the job with the specified id.
Public methodCancelTask
Cancels the task with the specified id.
Public methodCheckCapability(ICapabilityCheck)
Checks capability on all the agents.
Public methodCheckCapability(ICapabilityCheck, IListTaskPrecondition)
Checks capability on agents which meets the specified precondition.
Public methodCode exampleConnect
Connects client to specified cluster scheduler.
Public methodCreateJob
Returns a new job that can later be used to submit to the job scheduler.
Public methodDisconnect
Disconnects client from specified job scheduler.
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodCode exampleGetAgentInfo
Returns the list of agents and their current states.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetLicenseInfo
Gets the license info that matches the provided license parameters.
Public methodCode exampleGetMaximumHostCount
Returns the maximum number of hosts that is available to the job scheduler.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodCode exampleGetUserAuthorization
Determines whether the user is authorized for the job submission protocol.
Public methodGetVersionInfo
Gets the version info of the job scheduler.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodOnCoordinatorDisconnected
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 methodPostMessage(Object, Guid)
Posts a message to the specified target mailbox.
Public methodPostMessage(Object, Guid, Boolean)
Posts a message to the specified target mailbox.
Public methodReceiveMessage
Receives a message from the participant's mailbox. Blocks the current thread until a message arrives.
Public methodReceiveMessage(Guid)
Receives a message from the participant's mailbox. Blocks the current thread until a message arrives.
Public methodReceiveMessage(Int32)
Receives a message from the participant's mailbox. Blocks the current thread until a message arrives.
Public methodReceiveMessage(Int32, Guid)
Receives a message from the participant's mailbox. Blocks the current thread until a message arrives.
Public methodSubmitJob
Submits job to the job scheduler so the job scheduler can add the job to its queue.
Public methodToString
Returns a string that represents the current object.
(Overrides ObjectToString.)
Public methodWaitUntilDone
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.
Top
See Also

STK Parallel Computing Server 2.9 API for .NET