C# 클래스 Sepes.Infrastructure.Service.ProvisioningQueueService

상속: IProvisioningQueueService
파일 보기 프로젝트 열기: equinor/sepes-api

공개 메소드들

메소드 설명
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

메소드 상세

AddNewQueueMessageForOperation() 공개 메소드

public AddNewQueueMessageForOperation ( CloudResourceOperation operation ) : Task
operation CloudResourceOperation
리턴 Task

CreateItemAndEnqueue() 공개 메소드

public CreateItemAndEnqueue ( CloudResourceOperation operation ) : Task
operation CloudResourceOperation
리턴 Task

CreateItemAndEnqueue() 공개 메소드

public CreateItemAndEnqueue ( CloudResourceOperationDto operation ) : Task
operation CloudResourceOperationDto
리턴 Task

CreateItemAndEnqueue() 공개 메소드

public CreateItemAndEnqueue ( int operationId, string operationDescription ) : Task
operationId int
operationDescription string
리턴 Task

DeleteMessageAsync() 공개 메소드

public DeleteMessageAsync ( ProvisioningQueueParentDto message ) : Task
message ProvisioningQueueParentDto
리턴 Task

DeleteMessageAsync() 공개 메소드

public DeleteMessageAsync ( string messageId, string popReceipt ) : Task
messageId string
popReceipt string
리턴 Task

DeleteQueueAsync() 공개 메소드

public DeleteQueueAsync ( ) : Task
리턴 Task

IncreaseInvisibilityAsync() 공개 메소드

public IncreaseInvisibilityAsync ( ProvisioningQueueParentDto message, int invisibleForInSeconds ) : Task
message ProvisioningQueueParentDto
invisibleForInSeconds int
리턴 Task

IncreaseInvisibleBasedOnResource() 공개 메소드

public IncreaseInvisibleBasedOnResource ( CloudResourceOperationDto currentOperation, ProvisioningQueueParentDto queueParentItem ) : Task
currentOperation CloudResourceOperationDto
queueParentItem ProvisioningQueueParentDto
리턴 Task

ProvisioningQueueService() 공개 메소드

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

ReQueueMessageAsync() 공개 메소드

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

ReceiveMessageAsync() 공개 메소드

public ReceiveMessageAsync ( ) : Task
리턴 Task

SendMessageAsync() 공개 메소드

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