Package | Description |
---|---|
com.microsoft.azure.storage.queue |
This package contains the storage service queue classes.
|
Modifier and Type | Method and Description |
---|---|
CloudQueueMessage |
CloudQueue.peekMessage()
Peeks a message from the queue.
|
CloudQueueMessage |
CloudQueue.peekMessage(QueueRequestOptions options,
OperationContext opContext)
Peeks a message from the queue, using the specified request options and operation context.
|
CloudQueueMessage |
CloudQueue.retrieveMessage()
Retrieves a message from the front of the queue using the default request options.
|
CloudQueueMessage |
CloudQueue.retrieveMessage(int visibilityTimeoutInSeconds,
QueueRequestOptions options,
OperationContext opContext)
Retrieves a message from the front of the queue, using the specified request options and operation context.
|
Modifier and Type | Method and Description |
---|---|
Iterable<CloudQueueMessage> |
CloudQueue.peekMessages(int numberOfMessages)
Peeks a specified number of messages from the queue.
|
Iterable<CloudQueueMessage> |
CloudQueue.peekMessages(int numberOfMessages,
QueueRequestOptions options,
OperationContext opContext)
Peeks a set of messages from the queue, using the specified request options and operation context.
|
Iterable<CloudQueueMessage> |
CloudQueue.retrieveMessages(int numberOfMessages)
Retrieves the specified number of messages from the front of the queue using the default request options.
|
Iterable<CloudQueueMessage> |
CloudQueue.retrieveMessages(int numberOfMessages,
int visibilityTimeoutInSeconds,
QueueRequestOptions options,
OperationContext opContext)
Retrieves the specified number of messages from the front of the queue using the specified request options and
operation context.
|
Modifier and Type | Method and Description |
---|---|
void |
CloudQueue.addMessage(CloudQueueMessage message)
Adds a message to the back of the queue.
|
void |
CloudQueue.addMessage(CloudQueueMessage message,
int timeToLiveInSeconds,
int initialVisibilityDelayInSeconds,
QueueRequestOptions options,
OperationContext opContext)
Adds a message to the back of the queue with the specified options.
|
void |
CloudQueue.deleteMessage(CloudQueueMessage message)
Deletes the specified message from the queue.
|
void |
CloudQueue.deleteMessage(CloudQueueMessage message,
QueueRequestOptions options,
OperationContext opContext)
Deletes the specified message from the queue, using the specified request options and operation context.
|
void |
CloudQueue.updateMessage(CloudQueueMessage message,
int visibilityTimeoutInSeconds)
Updates the specified message in the queue with a new visibility timeout value in seconds.
|
void |
CloudQueue.updateMessage(CloudQueueMessage message,
int visibilityTimeoutInSeconds,
EnumSet<MessageUpdateFields> messageUpdateFields,
QueueRequestOptions options,
OperationContext opContext)
Updates a message in the queue, using the specified request options and operation context.
|
Copyright © 2019. All rights reserved.