C# Class NuGet.Services.Work.InvocationQueue.NullInvocationQueue

Inheritance: InvocationQueue
Mostra file Open project: NuGet/NuGet.Services.Work

Public Methods

Method Description
Complete ( InvocationState invocation, ExecutionResult result, string resultMessage, string logUrl ) : Task
Dequeue ( System.TimeSpan invisibleFor, CancellationToken token ) : Task
Enqueue ( string job, string source ) : Task
Enqueue ( string job, string source, string>.Dictionary payload ) : Task
Enqueue ( string job, string source, string>.Dictionary payload, System.TimeSpan invisibleFor, string jobInstanceName = null ) : Task
Extend ( InvocationState invocation, System.TimeSpan duration ) : Task
Get ( System.Guid id ) : Task
GetAll ( InvocationListCriteria criteria ) : Task>
GetAll ( InvocationListCriteria criteria, int limit ) : Task>
GetInstanceStatistics ( ) : Task>
GetJobStatistics ( ) : Task>
GetPurgable ( ) : Task>
GetPurgable ( DateTimeOffset before ) : Task>
GetStatistics ( ) : Task
Purge ( System.Guid id ) : Task
Purge ( IEnumerable ids ) : Task
Suspend ( InvocationState invocation, string>.Dictionary newPayload, System.TimeSpan suspendFor, string logUrl ) : Task
UpdateStatus ( InvocationState invocation, InvocationStatus status, ExecutionResult result ) : Task

Method Details

Complete() public method

public Complete ( InvocationState invocation, ExecutionResult result, string resultMessage, string logUrl ) : Task
invocation InvocationState
result ExecutionResult
resultMessage string
logUrl string
return Task

Dequeue() public method

public Dequeue ( System.TimeSpan invisibleFor, CancellationToken token ) : Task
invisibleFor System.TimeSpan
token System.Threading.CancellationToken
return Task

Enqueue() public method

public Enqueue ( string job, string source ) : Task
job string
source string
return Task

Enqueue() public method

public Enqueue ( string job, string source, string>.Dictionary payload ) : Task
job string
source string
payload string>.Dictionary
return Task

Enqueue() public method

public Enqueue ( string job, string source, string>.Dictionary payload, System.TimeSpan invisibleFor, string jobInstanceName = null ) : Task
job string
source string
payload string>.Dictionary
invisibleFor System.TimeSpan
jobInstanceName string
return Task

Extend() public method

public Extend ( InvocationState invocation, System.TimeSpan duration ) : Task
invocation InvocationState
duration System.TimeSpan
return Task

Get() public method

public Get ( System.Guid id ) : Task
id System.Guid
return Task

GetAll() public method

public GetAll ( InvocationListCriteria criteria ) : Task>
criteria InvocationListCriteria
return Task>

GetAll() public method

public GetAll ( InvocationListCriteria criteria, int limit ) : Task>
criteria InvocationListCriteria
limit int
return Task>

GetInstanceStatistics() public method

public GetInstanceStatistics ( ) : Task>
return Task>

GetJobStatistics() public method

public GetJobStatistics ( ) : Task>
return Task>

GetPurgable() public method

public GetPurgable ( ) : Task>
return Task>

GetPurgable() public method

public GetPurgable ( DateTimeOffset before ) : Task>
before DateTimeOffset
return Task>

GetStatistics() public method

public GetStatistics ( ) : Task
return Task

Purge() public method

public Purge ( System.Guid id ) : Task
id System.Guid
return Task

Purge() public method

public Purge ( IEnumerable ids ) : Task
ids IEnumerable
return Task

Suspend() public method

public Suspend ( InvocationState invocation, string>.Dictionary newPayload, System.TimeSpan suspendFor, string logUrl ) : Task
invocation InvocationState
newPayload string>.Dictionary
suspendFor System.TimeSpan
logUrl string
return Task

UpdateStatus() public method

public UpdateStatus ( InvocationState invocation, InvocationStatus status, ExecutionResult result ) : Task
invocation InvocationState
status InvocationStatus
result ExecutionResult
return Task