Table of Contents

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

JobQueue

Methods

AddToQueue(JobTask)

Adds JobTask to queue

public void AddToQueue(JobTask jobTask)

Parameters

jobTask JobTask

JobTask instance

IsJobQueued(string)

public bool IsJobQueued(string jobName)

Parameters

jobName string

Returns

bool

IsJobRunning(string, out DateTime?)

public bool IsJobRunning(string jobName, out DateTime? startTime)

Parameters

jobName string
startTime DateTime?

Returns

bool

IsJobTaskFinished(JobTask, ref bool)

Shows if job task is finished

public bool IsJobTaskFinished(JobTask jobTask, ref bool taskResult)

Parameters

jobTask JobTask

JobTask instance

taskResult bool

Result of operation

Returns

bool

False if job is running, Otherwise true.

To top