Created
January 26, 2012 17:42
-
-
Save awithy/1683977 to your computer and use it in GitHub Desktop.
IQueueService
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public interface IQueueService | |
{ | |
void Enqueue(QueueUri queueUri, string queueMessage); | |
QueueMessage Dequeue(QueueUri queueUri, TimeSpan visibilityTimeout); | |
QueueMessage Dequeue(QueueUri queueUri, TimeSpan visibilityTimeout, TimeSpan pollingWaitPeriod); | |
QueueMessage DequeueNoBlock(QueueUri queueUri, TimeSpan visibilityTimeout); | |
void DeleteQueueMessage(QueueUri queueUri, QueueMessage queueMessage); | |
void ClearQueue(QueueUri queueUri); | |
int GetMessageCount(QueueUri queueUri); | |
void CreateIfNotExists(QueueUri queueUri); | |
void DeleteQueueIfExists(QueueUri queueUri); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment