C# Класс Orleans.StreamProviders.Implementation.RabbitMessageQueueDataManager

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
AddQueueMessage ( RabbitMessage message ) : System.Threading.Tasks.Task

Adds a new message to the queue.

ClearQueue ( ) : System.Threading.Tasks.Task

Clears the queue.

DeleteQueue ( ) : System.Threading.Tasks.Task

Deletes the queue.

DeleteQueueMessage ( RabbitMessage message ) : System.Threading.Tasks.Task

Deletes a messages from the queue.

GetQueueMessages ( int count = -1 ) : Task>

Gets a number of new messages from the queue.

InitQueueAsync ( ) : System.Threading.Tasks.Task

Initializes the connection to the queue.

RabbitMessageQueueDataManager ( string queueName, string storageConnectionString ) : System

Constructor.

RabbitMessageQueueDataManager ( string queueName, string deploymentId, string storageConnectionString ) : System

Constructor.

Приватные методы

Метод Описание
CheckAlertSlowAccess ( System.DateTime startOperation, string operation ) : void
GetBasicParameters ( ) : IBasicProperties
ReportErrorAndRethrow ( Exception exc, string operation ) : void

Описание методов

AddQueueMessage() публичный Метод

Adds a new message to the queue.
public AddQueueMessage ( RabbitMessage message ) : System.Threading.Tasks.Task
message Orleans.StreamProviders.Entity.RabbitMessage Message to be added to the queue.
Результат System.Threading.Tasks.Task

ClearQueue() публичный Метод

Clears the queue.
public ClearQueue ( ) : System.Threading.Tasks.Task
Результат System.Threading.Tasks.Task

DeleteQueue() публичный Метод

Deletes the queue.
public DeleteQueue ( ) : System.Threading.Tasks.Task
Результат System.Threading.Tasks.Task

DeleteQueueMessage() публичный Метод

Deletes a messages from the queue.
public DeleteQueueMessage ( RabbitMessage message ) : System.Threading.Tasks.Task
message Orleans.StreamProviders.Entity.RabbitMessage A message to be deleted from the queue.
Результат System.Threading.Tasks.Task

GetQueueMessages() публичный Метод

Gets a number of new messages from the queue.
public GetQueueMessages ( int count = -1 ) : Task>
count int Number of messages to get from the queue.
Результат Task>

InitQueueAsync() публичный Метод

Initializes the connection to the queue.
public InitQueueAsync ( ) : System.Threading.Tasks.Task
Результат System.Threading.Tasks.Task

RabbitMessageQueueDataManager() публичный Метод

Constructor.
public RabbitMessageQueueDataManager ( string queueName, string storageConnectionString ) : System
queueName string Name of the queue to be connected to.
storageConnectionString string Connection string for the Azure storage account used to host this table.
Результат System

RabbitMessageQueueDataManager() публичный Метод

Constructor.
public RabbitMessageQueueDataManager ( string queueName, string deploymentId, string storageConnectionString ) : System
queueName string Name of the queue to be connected to.
deploymentId string The deployment id of the Azure service hosting this silo. It will be concatenated to the queueName.
storageConnectionString string Connection string for the Azure storage account used to host this table.
Результат System