C# Class Sepes.Infrastructure.Service.ProvisioningQueueService

Inheritance: IProvisioningQueueService
显示文件 Open project: equinor/sepes-api

Public Methods

Method Description
AddNewQueueMessageForOperation ( CloudResourceOperation operation ) : Task
CreateItemAndEnqueue ( CloudResourceOperation operation ) : Task
CreateItemAndEnqueue ( CloudResourceOperationDto operation ) : Task
CreateItemAndEnqueue ( int operationId, string operationDescription ) : Task
DeleteMessageAsync ( ProvisioningQueueParentDto message ) : Task
DeleteMessageAsync ( string messageId, string popReceipt ) : Task
DeleteQueueAsync ( ) : Task
IncreaseInvisibilityAsync ( ProvisioningQueueParentDto message, int invisibleForInSeconds ) : Task
IncreaseInvisibleBasedOnResource ( CloudResourceOperationDto currentOperation, ProvisioningQueueParentDto queueParentItem ) : Task
ProvisioningQueueService ( IConfiguration config, ILogger logger, IAzureQueueService queueService ) : Microsoft.Extensions.Configuration
ReQueueMessageAsync ( ProvisioningQueueParentDto message, int? invisibleForInSeconds = default, CancellationToken cancellationToken = default ) : Task
ReceiveMessageAsync ( ) : Task
SendMessageAsync ( ProvisioningQueueParentDto message, TimeSpan? visibilityTimeout = null, CancellationToken cancellationToken = default ) : Task

Method Details

AddNewQueueMessageForOperation() public method

public AddNewQueueMessageForOperation ( CloudResourceOperation operation ) : Task
operation CloudResourceOperation
return Task

CreateItemAndEnqueue() public method

public CreateItemAndEnqueue ( CloudResourceOperation operation ) : Task
operation CloudResourceOperation
return Task

CreateItemAndEnqueue() public method

public CreateItemAndEnqueue ( CloudResourceOperationDto operation ) : Task
operation CloudResourceOperationDto
return Task

CreateItemAndEnqueue() public method

public CreateItemAndEnqueue ( int operationId, string operationDescription ) : Task
operationId int
operationDescription string
return Task

DeleteMessageAsync() public method

public DeleteMessageAsync ( ProvisioningQueueParentDto message ) : Task
message ProvisioningQueueParentDto
return Task

DeleteMessageAsync() public method

public DeleteMessageAsync ( string messageId, string popReceipt ) : Task
messageId string
popReceipt string
return Task

DeleteQueueAsync() public method

public DeleteQueueAsync ( ) : Task
return Task

IncreaseInvisibilityAsync() public method

public IncreaseInvisibilityAsync ( ProvisioningQueueParentDto message, int invisibleForInSeconds ) : Task
message ProvisioningQueueParentDto
invisibleForInSeconds int
return Task

IncreaseInvisibleBasedOnResource() public method

public IncreaseInvisibleBasedOnResource ( CloudResourceOperationDto currentOperation, ProvisioningQueueParentDto queueParentItem ) : Task
currentOperation CloudResourceOperationDto
queueParentItem ProvisioningQueueParentDto
return Task

ProvisioningQueueService() public method

public ProvisioningQueueService ( IConfiguration config, ILogger logger, IAzureQueueService queueService ) : Microsoft.Extensions.Configuration
config IConfiguration
logger ILogger
queueService IAzureQueueService
return Microsoft.Extensions.Configuration

ReQueueMessageAsync() public method

public ReQueueMessageAsync ( ProvisioningQueueParentDto message, int? invisibleForInSeconds = default, CancellationToken cancellationToken = default ) : Task
message ProvisioningQueueParentDto
invisibleForInSeconds int?
cancellationToken CancellationToken
return Task

ReceiveMessageAsync() public method

public ReceiveMessageAsync ( ) : Task
return Task

SendMessageAsync() public method

public SendMessageAsync ( ProvisioningQueueParentDto message, TimeSpan? visibilityTimeout = null, CancellationToken cancellationToken = default ) : Task
message ProvisioningQueueParentDto
visibilityTimeout TimeSpan?
cancellationToken CancellationToken
return Task