IJob Interface |
Namespace: AGI.Parallel.Infrastructure
The IJob type exposes the following members.
Name | Description | |
---|---|---|
![]() | AgentSelectionPreference |
Gets or sets the agent selection preference.
|
![]() | CancelOnClientDisconnection |
Gets or sets a value indicating whether to cancel the tasks of this Job when the client disconnects.
|
![]() ![]() | CancelOnTaskFailure |
Gets or sets a value indicating whether to cancel other tasks on this Job if another Task fails.
|
![]() | Description |
Gets or sets the Job description.
|
![]() ![]() | ExclusiveExecution |
Gets or sets a value indicating whether the tasks on this job should have exclusive access to the resource it is running on.
|
![]() ![]() | FailIfPreconditionsNotSatisfied |
Gets or sets a value indicating whether to fail all tasks immediately of this Job if the precondition is not satisfied.
|
![]() | Id |
Gets the job's id.
|
![]() | IsCanceled |
Gets a value indicating whether this job has been canceled.
|
![]() | MaxTaskInterruptedRetryAttempts |
Gets or sets the maximum number of times a task will be retried if it is interrupted.
|
![]() | MinimizeClientMessaging |
Gets or sets a value indicating whether to minimize sending some messages from the Coordinator.
If set to true, some events may not fire.
|
![]() | Name |
Gets or sets the Job name.
|
![]() | RaiseEventsUsingSynchronizationContext |
Gets or sets a value indicating whether Job and Task events such
as JobCompleted are raised using the SynchronizationContext of the thread
that submits the job. If this property is , no events are raised until
WaitUntilDone is called, at which point the events are raised in the thread that calls
it. If this property is , events are raised by posting them to the
SynchronizationContext of the thread that calls Submit, no matter if
WaitUntilDone is called or not.
|
![]() | TaskEnvironment |
Gets or sets Job's TaskEnvironment |
![]() ![]() | TaskExecutionTimeout |
Gets or sets the timeout for task execution in milliseconds.
|
Name | Description | |
---|---|---|
![]() | AddTask |
Adds a task to Job.
|
![]() ![]() | Cancel |
Cancels all tasks in this job. Will not listen for cancellation events.
|
![]() ![]() | Cancel(Boolean) |
Cancels all tasks in this job.
|
![]() | Submit |
Submits job to job scheduler.
|
![]() | WaitUntilDone |
Blocks until all tasks in this job complete.
|
![]() | WaitUntilDone(Int32) |
Blocks until all tasks in this job complete or the operation times out.
|
![]() | WaitUntilDone(Int32, Action, Int32) |
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.
|
STK Parallel Computing Server 2.10 API for .NET