Share via


Cluster.RequeueJobs Method

Queues one or more specified jobs again.

Namespace: Microsoft.ComputeCluster
Assembly: CcpAPI (in ccpapi.dll)

Usage

Syntax

'Declaration
Public Sub RequeueJobs ( _
    jobIds As IClusterEnumerable _
)
public void RequeueJobs (
    IClusterEnumerable jobIds
)
public:
virtual void RequeueJobs (
    IClusterEnumerable^ jobIds
) sealed
public final void RequeueJobs (
    IClusterEnumerable jobIds
)
public final function RequeueJobs (
    jobIds : IClusterEnumerable
)

Parameters

  • jobIds
    A class that implements the IClusterEnumerable interface. The collection contains integers that identify one or more jobs to queue again. The Cluster.AddJob method returns the identifier. If you have a job object that has already been added to the cluster, you can access the Job.Id property to get the identifier.

Remarks

The IClusterEnumerable class implements the IClusterEnumerable interface.

Typically, you call this method if tasks in the jobs have failed for similar reasons, you fixed the cause of the failure, and you want to try running the tasks again. Canceled tasks are not rerun; only failed tasks are rerun. To rerun canceled tasks, you must call the Cluster.RequeueTask method.

If you call this method while tasks are running, the tasks are canceled. You cannot call this method for a completed job.

If this method fails to queue a job, all subsequent jobs in the collection are also not queued. Jobs that were queued before the failure remain queued.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Microsoft Windows Compute Cluster Server 2003, Windows Server 2003, Windows XP

Target Platforms

Microsoft Windows Compute Cluster Server 2003, Windows Server 2003 with Compute Cluster Pack Client Utilities, Windows XP with Compute Cluster Pack Client Utilities

See Also

Reference

Cluster Class
Cluster Members
Microsoft.ComputeCluster Namespace
Cluster.RequeueJob Method
RequeueTasks