C# Class DotNetWorkQueue.Transport.Redis.Basic.RedisQueueCreation

Allows deleting redis queues; creation is a no-op, as redis queues do not need to be pre-created.
Inheritance: IQueueCreation
Afficher le fichier Open project: blehnen/DotNetWorkQueue Class Usage Examples

Méthodes publiques

Méthode Description
CreateQueue ( ) : QueueCreationResult

Creates the queue if needed.

This does nothing for the Redis transport, as pre-creating the queue is not necessary.

Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

RedisQueueCreation ( IConnectionInformation connectionInfo, IRedisConnection redisConnection, RedisNames redisNames, ICreationScope creationScope ) : System.Threading

Initializes a new instance of the RedisQueueCreation class.

RemoveQueue ( ) : QueueRemoveResult

Attempts to delete an existing queue

Any data in the queue will be lost. Will cause exceptions in any producer/consumer that is connected

Private Methods

Méthode Description
RemoveQueueInternal ( ) : QueueRemoveResult

Deletes a queue by deleting all of its keys

Method Details

CreateQueue() public méthode

Creates the queue if needed.
This does nothing for the Redis transport, as pre-creating the queue is not necessary.
public CreateQueue ( ) : QueueCreationResult
Résultat QueueCreationResult

Dispose() public méthode

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Résultat void

RedisQueueCreation() public méthode

Initializes a new instance of the RedisQueueCreation class.
public RedisQueueCreation ( IConnectionInformation connectionInfo, IRedisConnection redisConnection, RedisNames redisNames, ICreationScope creationScope ) : System.Threading
connectionInfo IConnectionInformation The connection information.
redisConnection IRedisConnection The redis connection.
redisNames RedisNames The redis names.
creationScope ICreationScope The creation scope.
Résultat System.Threading

RemoveQueue() public méthode

Attempts to delete an existing queue
Any data in the queue will be lost. Will cause exceptions in any producer/consumer that is connected
public RemoveQueue ( ) : QueueRemoveResult
Résultat QueueRemoveResult