JobCounter Class

Retrieves counter values related to the status of tasks in the job (for example, the number of tasks that have finished).

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

Usage

Syntax

'Declaration
<SerializableAttribute> _
<GuidAttribute("8BF38748-1FF4-49e5-BC1F-6833C6FC879D")> _
<ComVisibleAttribute(True)> _
<ClassInterfaceAttribute(ClassInterfaceType.None)> _
Public NotInheritable Class JobCounter
    Implements IJobCounter
[SerializableAttribute] 
[GuidAttribute("8BF38748-1FF4-49e5-BC1F-6833C6FC879D")] 
[ComVisibleAttribute(true)] 
[ClassInterfaceAttribute(ClassInterfaceType.None)] 
public sealed class JobCounter : IJobCounter
[SerializableAttribute] 
[GuidAttribute(L"8BF38748-1FF4-49e5-BC1F-6833C6FC879D")] 
[ComVisibleAttribute(true)] 
[ClassInterfaceAttribute(ClassInterfaceType::None)] 
public ref class JobCounter sealed : IJobCounter
/** @attribute SerializableAttribute() */ 
/** @attribute GuidAttribute("8BF38748-1FF4-49e5-BC1F-6833C6FC879D") */ 
/** @attribute ComVisibleAttribute(true) */ 
/** @attribute ClassInterfaceAttribute(ClassInterfaceType.None) */ 
public final class JobCounter implements IJobCounter
SerializableAttribute 
GuidAttribute("8BF38748-1FF4-49e5-BC1F-6833C6FC879D") 
ComVisibleAttribute(true) 
ClassInterfaceAttribute(ClassInterfaceType.None) 
public final class JobCounter implements IJobCounter

Remarks

Treat the properties of this class as read-only; do not set the value of these properties.

You should not use this class. Instead, you should use the IJobCounter interface as shown in the following example:

IJobCounter jobCounters = cluster.GetJobCounter(jobId);

Inheritance Hierarchy

System.Object
  Microsoft.ComputeCluster.JobCounter

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

JobCounter Members
Microsoft.ComputeCluster Namespace