C# Class BlueCollar.Job

Base IJob implementation.
Inheritance: IJob
Show file Open project: ChadBurggraf/blue-collar

Private Properties

Property Type Description

Public Methods

Method Description
Enqueue ( ) : void

Enqueues the job using the currently configured application name on the default queue.

Enqueue ( string queueName ) : void

Enqueues this job using the currently configured application name and the given queue name.

Enqueue ( string applicationName, string queueName ) : void

Enqueues a job for the given application name and queue name.

Enqueue ( string applicationName, string queueName, IRepository repository ) : void

Enqueues a job for the given application name and queue name.

Execute ( ) : void

Executes the job.

Method Details

Enqueue() public method

Enqueues the job using the currently configured application name on the default queue.
public Enqueue ( ) : void
return void

Enqueue() public method

Enqueues this job using the currently configured application name and the given queue name.
public Enqueue ( string queueName ) : void
queueName string The name of the queue to enqueue the job on, or null for the default queue.
return void

Enqueue() public method

Enqueues a job for the given application name and queue name.
public Enqueue ( string applicationName, string queueName ) : void
applicationName string The name of the application to enqueue the job for.
queueName string The name of the queue to enqueue the job on, or null for the default queue.
return void

Enqueue() public method

Enqueues a job for the given application name and queue name.
public Enqueue ( string applicationName, string queueName, IRepository repository ) : void
applicationName string The name of the application to enqueue the job for.
queueName string The name of the queue to enqueue the job on, or null for the default queue.
repository IRepository The repository to use when enqueueing the job record.
return void

Execute() public abstract method

Executes the job.
public abstract Execute ( ) : void
return void