C# Class Orleans.StreamProviders.Implementation.RabbitMessageQueueDataManager

Afficher le fichier Open project: Merroy/Orleans Class Usage Examples

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
CheckAlertSlowAccess ( System.DateTime startOperation, string operation ) : void
GetBasicParameters ( ) : IBasicProperties
ReportErrorAndRethrow ( Exception exc, string operation ) : void

Method Details

AddQueueMessage() public méthode

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.
Résultat System.Threading.Tasks.Task

ClearQueue() public méthode

Clears the queue.
public ClearQueue ( ) : System.Threading.Tasks.Task
Résultat System.Threading.Tasks.Task

DeleteQueue() public méthode

Deletes the queue.
public DeleteQueue ( ) : System.Threading.Tasks.Task
Résultat System.Threading.Tasks.Task

DeleteQueueMessage() public méthode

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.
Résultat System.Threading.Tasks.Task

GetQueueMessages() public méthode

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.
Résultat Task>

InitQueueAsync() public méthode

Initializes the connection to the queue.
public InitQueueAsync ( ) : System.Threading.Tasks.Task
Résultat System.Threading.Tasks.Task

RabbitMessageQueueDataManager() public méthode

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.
Résultat System

RabbitMessageQueueDataManager() public méthode

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.
Résultat System