C# Class DotNetWorkQueue.Queue.ProducerMethodJobQueue

Sends jobs to a transport
Inheritance: IProducerMethodJobQueue
Afficher le fichier Open project: blehnen/DotNetWorkQueue

Méthodes publiques

Méthode Description
Dispose ( ) : void

Releases unmanaged and - optionally - managed resources.

ProducerMethodJobQueue ( IJobSchedulerLastKnownEvent jobSchedulerLastKnownEvent, ISendJobToQueue sendJobToQueue, ILogFactory logFactory, IJobTableCreation createJobQueue ) : System

Initializes a new instance of the ProducerMethodJobQueue class.

SendAsync ( IScheduledJob job, DateTimeOffset scheduledTime, Expression method ) : Task

Sends the specified linqExpression to be executed.

SendAsync ( IScheduledJob job, DateTimeOffset scheduledTime, LinqExpressionToRun linqExpression ) : Task

Sends the specified dynamic linqExpression to be executed.

Start ( ) : void

Starts this instance.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources.

Method Details

Dispose() public méthode

Releases unmanaged and - optionally - managed resources.
public Dispose ( ) : void
Résultat void

Dispose() protected méthode

Releases unmanaged and - optionally - managed resources.
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
Résultat void

ProducerMethodJobQueue() public méthode

Initializes a new instance of the ProducerMethodJobQueue class.
public ProducerMethodJobQueue ( IJobSchedulerLastKnownEvent jobSchedulerLastKnownEvent, ISendJobToQueue sendJobToQueue, ILogFactory logFactory, IJobTableCreation createJobQueue ) : System
jobSchedulerLastKnownEvent IJobSchedulerLastKnownEvent The job scheduler last known event.
sendJobToQueue ISendJobToQueue The send job to queue.
logFactory ILogFactory The log factory.
createJobQueue IJobTableCreation The create job queue.
Résultat System

SendAsync() public méthode

Sends the specified linqExpression to be executed.
public SendAsync ( IScheduledJob job, DateTimeOffset scheduledTime, Expression method ) : Task
job IScheduledJob The job.
scheduledTime DateTimeOffset The scheduled time.
method Expression The linqExpression to execute.
Résultat Task

SendAsync() public méthode

Sends the specified dynamic linqExpression to be executed.
public SendAsync ( IScheduledJob job, DateTimeOffset scheduledTime, LinqExpressionToRun linqExpression ) : Task
job IScheduledJob The job.
scheduledTime DateTimeOffset The scheduled time.
linqExpression DotNetWorkQueue.Messages.LinqExpressionToRun The linqExpression to execute.
Résultat Task

Start() public méthode

Starts this instance.
public Start ( ) : void
Résultat void