C# Class Taskling.SqlServer.TaskExecution.TaskExecutionRepository

Inheritance: Taskling.SqlServer.AncilliaryServices.DbOperationsService, ITaskExecutionRepository
Mostra file Open project: Vanlightly/Taskling.NET

Public Methods

Method Description
Checkpoint ( TaskExecutionCheckpointRequest taskExecutionRequest ) : void
Complete ( TaskExecutionCompleteRequest completeRequest ) : TaskExecutionCompleteResponse
Error ( TaskExecutionErrorRequest taskExecutionErrorRequest ) : void
GetLastExecutionMetas ( TaskExecutionMetaRequest taskExecutionMetaRequest ) : TaskExecutionMetaResponse
SendKeepAlive ( SendKeepAliveRequest sendKeepAliveRequest ) : void
Start ( TaskExecutionStartRequest startRequest ) : TaskExecutionStartResponse
TaskExecutionRepository ( ITaskRepository taskRepository, IExecutionTokenRepository executionTokenRepository, IEventsRepository eventsRepository ) : System

Private Methods

Method Description
CreateKeepAliveTaskExecution ( TaskId taskId, int taskDefinitionId, System.TimeSpan keepAliveInterval, System.TimeSpan keepAliveDeathThreshold, string referenceValue, short failedTaskRetryLimit, short deadTaskRetryLimit, string tasklingVersion, string executionHeader ) : int
CreateOverrideTaskExecution ( TaskId taskId, int taskDefinitionId, System.TimeSpan overrideThreshold, string referenceValue, short failedTaskRetryLimit, short deadTaskRetryLimit, string tasklingVersion, string executionHeader ) : int
RegisterEvent ( TaskId taskId, string taskExecutionId, EventType eventType, string message ) : void
ReturnExecutionToken ( TaskExecutionCompleteRequest taskExecutionCompleteRequest ) : TaskExecutionCompleteResponse
SetBlockedOnTaskExecution ( TaskId taskId, string taskExecutionId ) : void
SetCompletedDateOnTaskExecution ( TaskId taskId, string taskExecutionId ) : void
SetTaskExecutionAsFailed ( TaskId taskId, string taskExecutionId ) : void
StartKeepAliveExecution ( TaskExecutionStartRequest startRequest, int taskDefinitionId ) : TaskExecutionStartResponse
StartOverrideExecution ( TaskExecutionStartRequest startRequest, int taskDefinitionId ) : TaskExecutionStartResponse
TryGetExecutionToken ( TaskId taskId, int taskDefinitionId, int taskExecutionId, int concurrencyLimit ) : TaskExecutionStartResponse
ValidateStartRequest ( TaskExecutionStartRequest startRequest ) : void

Method Details

Checkpoint() public method

public Checkpoint ( TaskExecutionCheckpointRequest taskExecutionRequest ) : void
taskExecutionRequest Taskling.InfrastructureContracts.TaskExecution.TaskExecutionCheckpointRequest
return void

Complete() public method

public Complete ( TaskExecutionCompleteRequest completeRequest ) : TaskExecutionCompleteResponse
completeRequest TaskExecutionCompleteRequest
return TaskExecutionCompleteResponse

Error() public method

public Error ( TaskExecutionErrorRequest taskExecutionErrorRequest ) : void
taskExecutionErrorRequest Taskling.InfrastructureContracts.TaskExecution.TaskExecutionErrorRequest
return void

GetLastExecutionMetas() public method

public GetLastExecutionMetas ( TaskExecutionMetaRequest taskExecutionMetaRequest ) : TaskExecutionMetaResponse
taskExecutionMetaRequest Taskling.InfrastructureContracts.TaskExecution.TaskExecutionMetaRequest
return Taskling.InfrastructureContracts.TaskExecution.TaskExecutionMetaResponse

SendKeepAlive() public method

public SendKeepAlive ( SendKeepAliveRequest sendKeepAliveRequest ) : void
sendKeepAliveRequest SendKeepAliveRequest
return void

Start() public method

public Start ( TaskExecutionStartRequest startRequest ) : TaskExecutionStartResponse
startRequest Taskling.InfrastructureContracts.TaskExecution.TaskExecutionStartRequest
return Taskling.InfrastructureContracts.TaskExecution.TaskExecutionStartResponse

TaskExecutionRepository() public method

public TaskExecutionRepository ( ITaskRepository taskRepository, IExecutionTokenRepository executionTokenRepository, IEventsRepository eventsRepository ) : System
taskRepository ITaskRepository
executionTokenRepository IExecutionTokenRepository
eventsRepository IEventsRepository
return System