Class JobQueue
- Namespace
- Dynamicweb.DataIntegration.Integration
- Assembly
- Dynamicweb.DataIntegration.dll
Represents job queue
public class JobQueue
- Inheritance
-
JobQueue
- Inherited Members
Properties
Instance
Initializes singleton object instance
public static JobQueue Instance { get; }
Property Value
Methods
AddToQueue(JobTask)
Adds JobTask to queue
public void AddToQueue(JobTask jobTask)
Parameters
jobTask
JobTaskJobTask instance
IsJobQueued(string)
public bool IsJobQueued(string jobName)
Parameters
jobName
string
Returns
IsJobRunning(string, out DateTime?)
public bool IsJobRunning(string jobName, out DateTime? startTime)
Parameters
Returns
IsJobTaskFinished(JobTask, ref bool)
Shows if job task is finished
public bool IsJobTaskFinished(JobTask jobTask, ref bool taskResult)
Parameters
Returns
- bool
False if job is running, Otherwise true.