Class JobAgentJoin
- Namespace
- ArcanaDevelopment.adTempus.Client
- Assembly
- ArcanaDevelopment.adTempus.Client.dll
Contains information about a job's status on a particular RemoteAgent
public sealed class JobAgentJoin : ADTObject
- Inheritance
-
objectJobAgentJoin
Remarks
The JobAgentJoin contains the information from the job's JobStatus on a particular Agent.
Use Job.RemoteAgents to retrieve the JobAgentJoins for the job.
Properties
ActiveInstances
The number of instances of this job that are currently active.
public int ActiveInstances { get; }
Property Value
- int
Agent
The RemoteAgent this item belongs to
public RemoteAgent Agent { get; }
Property Value
ClassID
The Class ID for the object
[IgnoreDataMember]
public override ClassID ClassID { get; }
Property Value
ClassKeyName
The key name for the class.
public override string ClassKeyName { get; }
Property Value
- string
Remarks
This name the name used by adTempus to identify the class and is intended for programmatic use only. Use the ClassName for a user-friendly name.
CurrentStep
The current step being executed (or last step, if the job has finished)
public int CurrentStep { get; }
Property Value
- int
ExecutionFinish
The end date/time of the most recent execution of the job
[ComVisible(false)]
public DateTimeOffset? ExecutionFinish { get; }
Property Value
- DateTimeOffset?
Remarks
If there are currently active instances of the job (see ActiveInstances)the value will be null
ExecutionStart
The start date/time of the most recent execution of the job
[ComVisible(false)]
public DateTimeOffset? ExecutionStart { get; }
Property Value
- DateTimeOffset?
ExecutionType
The mode in which the job executes on this agent
public RemoteAgentOptions ExecutionType { get; }
Property Value
IsDependent
Indicates whether the object is a dependent of (owned by) another object
[IgnoreDataMember]
public override bool IsDependent { get; }
Property Value
- bool
Remarks
An independent object (IsDependent is false) is an object that can exist on its own without being part of another object. For example, Jobs, Job Groups, etc.
A dependent object (IsDependent is true) is a part of another object. For example, a JobStep cannot exist independently of a Job, so the JobStep is dependent.
Dependent objects cannot be directly fetched from the server: they are only fetched as part of the object they belong to. They also cannot be saved or deleted independently: they are automatically saved or deleted when the owning object is saved or deleted.
Job
The Job this item belongs to
public Job Job { get; }
Property Value
KernelModeTime
Total kernel mode CPU time for all instances of this job
public int KernelModeTime { get; }
Property Value
- int
Remarks
Processor time is only accumulated for certain task types. See the user guide for more information
LastCheckpoint
The most recent checkpoint set by an executing instance
public string LastCheckpoint { get; }
Property Value
- string
LastInstanceID
The instance number of the current or most recent instance
public int LastInstanceID { get; }
Property Value
- int
Remarks
Will be 0 if no instance has executed since the statistics for the job were last reset
MemoryUsage
Total memory usage for all instances, in KB
public int MemoryUsage { get; }
Property Value
- int
NextStart
The next scheduled start date/time for the job
[ComVisible(false)]
public DateTimeOffset? NextStart { get; }
Property Value
- DateTimeOffset?
Remarks
If the job is in a mirrored queue this time represents the next start on the Controller only. See NextMirrorStart for the next scheduled start on the agents.
Status
The status (state) of the current or most recent instance
public JobState Status { get; }
Property Value
Remarks
If there is currently more than one active instance, use GetExecutionHistory(InstanceQueryParameters) to get details about the instances.
TotalExecutions
Total number of times the job has been executed
public int TotalExecutions { get; }
Property Value
- int
TotalTime
Total elapsed time of all executions for this job.
public int TotalTime { get; }
Property Value
- int
UserModeTime
Total user mode CPU time for all instances of this job
public int UserModeTime { get; }
Property Value
- int
Remarks
Processor time is only accumulated for certain task types. See the user guide for more information
Methods
FindOwningObject()
Get the owner of this object based on relationships.
protected override ADTObject FindOwningObject()
Returns
- ADTObject
The owning object, or null if the object is not owned by another object or the owner has not been set.
GetObjectDescription()
Gets a description of the object's key settings.
protected override string GetObjectDescription()
Returns
- string
Remarks
This method is called by GetDescription() to get a user-friendly description of the object (such as its key settings) for display to the user. The description should contain enough information to distinguish this object from others of the same class.
WriteToConfigurationReport(IADTObjectConfigurationReportWriter)
Writes the object and any contained objects to a configuration report
public override void WriteToConfigurationReport(IADTObjectConfigurationReportWriter reportBuilder)
Parameters
| Name | Type | Description |
|---|---|---|
reportBuilder |
IADTObjectConfigurationReportWriter | The report builder to write the object to. |
Inherited Members
- ADTObject.LastModified
- ADTObject.CreationTimestamp
- ADTObject.FromController
- ADTObject.CustomProperties
- ADTObject.Description
- ADTObject.DescriptionTextType
- ADTObject.OID
- ADTObject.BindingDescription
- ADTObject.ToString()
- ADTObject.ParentObject
- ADTObject.CanPerform(SecurityPermission)
- ADTObject.Duplicate()
- ADTObject.DataContext
- ADTObject.AccessMask
- ADTObject.Validate(MessageCollection)
- ADTObject.SupportedSecurityActions
- ADTObject.SupportedSecurityInheritanceOptions
- ADTObject.GetTopLevelOwner()
- ADTObject.GetConfigurationReport()
- ADTObject.GetConfigurationReport(bool)
- ADTObject.IsReadOnly
- ObjectBase.IsDirty
- ObjectBase.IsNew
- ObjectBase.IsStub
- ObjectBase.ClassName
- ObjectBase.GetDescriptionWithClassName()
- ObjectBase.GetDescription()
- ObjectBase.BeginEdit()
- ObjectBase.BeginEdit(UndoLevelAction)
- ObjectBase.CommitEdit(Guid)
- ObjectBase.CommitEdit()
- ObjectBase.UndoEdit()
- ObjectBase.UndoEdit(Guid)