Method | Description | |
---|---|---|
SqlServerSendJobToQueue ( IProducerMethodQueue queue, QueueStatuses>.IQueryHandler |
Initializes a new instance of the SqlServerSendJobToQueue class.
|
Method | Description | |
---|---|---|
DeleteJob ( string name ) : void |
Deletes the job based on the job name.
|
|
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
|
protected DeleteJob ( string name ) : void | ||
name | string | The name. |
return | void |
protected DoesJobExist ( string name, DateTimeOffset scheduledTime ) : QueueStatuses | ||
name | string | The name. |
scheduledTime | DateTimeOffset | The scheduled time. |
return | QueueStatuses |
protected JobAlreadyExistsError ( |
||
error | The error. | |
return | bool |
protected 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 |
public SqlServerSendJobToQueue ( IProducerMethodQueue queue, QueueStatuses>.IQueryHandler |
||
queue | IProducerMethodQueue | The queue. |
doesJobExist | QueueStatuses>.IQueryHandler | Query for determining if a job already exists |
deleteMessageCommand | long>.ICommandHandlerWithOutput | The delete message command. |
getJobId | long>.IQueryHandler | The get job identifier. |
createJobMetaData | The create job meta data. | |
getTimeFactory | IGetTimeFactory | The get time factory. |
return | System |