Property | Type | Description | |
---|---|---|---|
GetTimeFactory | IGetTimeFactory | ||
Queue | IProducerMethodQueue |
Method | Description | |
---|---|---|
Dispose ( ) : void |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
|
SendAsync ( IScheduledJob job, DateTimeOffset scheduledTime, Expression |
Sends the specified action to the specified queue.
|
|
SendAsync ( IScheduledJob job, DateTimeOffset scheduledTime, |
Sends the specified action to the specified queue.
|
Method | Description | |
---|---|---|
ASendJobToQueue ( IProducerMethodQueue queue, IGetTimeFactory getTimeFactory ) : System |
Initializes a new instance of the ASendJobToQueue class.
|
|
DeleteJob ( string name ) : void |
Deletes the job based on the job name.
|
|
Dispose ( bool disposing ) : void |
Releases unmanaged and - optionally - managed resources.
|
|
DoesJobExist ( string name, DateTimeOffset scheduledTime ) : QueueStatuses |
Returns the status of the job based on name and scheduled time.
|
|
JobAlreadyExistsError ( |
Return true if the exception indicates that the job already exists. Used to determine if we should return specific error messages |
|
SetMetaDataForJob ( string jobName, DateTimeOffset scheduledTime, DateTimeOffset eventTime, string route, IAdditionalMessageData messageData ) : void |
Sets the specified meta data on the messageData context
|
Method | Description | |
---|---|---|
ProcessResult ( IScheduledJob job, DateTimeOffset scheduledTime, IQueueOutputMessage result ) : IJobQueueOutputMessage | ||
SendPreChecks ( string jobName, DateTimeOffset scheduledTime ) : IJobQueueOutputMessage |
protected ASendJobToQueue ( IProducerMethodQueue queue, IGetTimeFactory getTimeFactory ) : System | ||
queue | IProducerMethodQueue | The queue. |
getTimeFactory | IGetTimeFactory | The get time factory. |
return | System |
protected abstract DeleteJob ( string name ) : void | ||
name | string | The name. |
return | void |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
return | void |
protected abstract DoesJobExist ( string name, DateTimeOffset scheduledTime ) : QueueStatuses | ||
name | string | The name. |
scheduledTime | DateTimeOffset | The scheduled time. |
return | QueueStatuses |
protected abstract JobAlreadyExistsError ( |
||
error | The error. | |
return | bool |
public SendAsync ( IScheduledJob job, DateTimeOffset scheduledTime, Expression |
||
job | IScheduledJob | The job. |
scheduledTime | DateTimeOffset | The scheduled time. |
actionToRun | Expression |
The action to run. |
return | Task |
public SendAsync ( IScheduledJob job, DateTimeOffset scheduledTime, |
||
job | IScheduledJob | The job. |
scheduledTime | DateTimeOffset | The scheduled time. |
expressionToRun | The expression to run. | |
return | Task |
protected abstract SetMetaDataForJob ( string jobName, DateTimeOffset scheduledTime, DateTimeOffset eventTime, string route, IAdditionalMessageData messageData ) : void | ||
jobName | string | Name of the job. |
scheduledTime | DateTimeOffset | The scheduled time. |
eventTime | DateTimeOffset | The event time. |
route | string | The route. May be null. |
messageData | IAdditionalMessageData | The message data. |
return | void |
protected IGetTimeFactory GetTimeFactory | ||
return | IGetTimeFactory |