| 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 Microsoft Corporation 
* 
* Licensed under the Apache License, Version 2.0 (the "License"); 
* you may not use this file except in compliance with the License. 
* You may obtain a copy of the License at 
* http://www.apache.org/licenses/LICENSE-2.0 
* 
* Unless required by applicable law or agreed to in writing, software 
* distributed under the License is distributed on an "AS IS" BASIS, 
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
* See the License for the specific language governing permissions and 
* limitations under the License. 
*/