ClusterJobScheduler Methods

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, IListTaskPrecondition)
Checks capability on agents which meets the specified precondition.
Public methodCode example 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
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Public method Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected method Finalize
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 example GetAgentInfo
Returns the list of agents and their current states.
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public method GetLicenseInfo
Gets the license info that matches the provided license parameters.
Public methodCode example GetMaximumHostCount
Returns the maximum number of hosts that is available to the job scheduler.
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodCode example 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
Creates a shallow copy of the current Object.
(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
Returns a string that represents the current object.
(Overrides ObjectToString.)
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.
Top
See Also

STK Scalability 1.4 API for .NET