| Package | Description |
|---|---|
| com.microsoft.windowsazure.services.queue |
This package contains the queue service class, interface, and associated configuration and utility classes.
|
| com.microsoft.windowsazure.services.queue.models |
This package contains the queue data transfer object classes.
|
| Modifier and Type | Method and Description |
|---|---|
void |
QueueContract.clearMessages(String queue,
QueueServiceOptions options)
Deletes all messages in the named queue, using the specified options.
|
void |
QueueContract.deleteMessage(String queue,
String messageId,
String popReceipt,
QueueServiceOptions options)
Deletes the message in the named queue with the specified message ID and
popReceipt value, using the specified options.
|
void |
QueueContract.deleteQueue(String queue,
QueueServiceOptions options)
Deletes the queue in the storage account with the specified queue name,
using the specified options.
|
GetQueueMetadataResult |
QueueContract.getQueueMetadata(String queue,
QueueServiceOptions options)
Gets the metadata for the named queue in the storage account, using the
specified options.
|
GetServicePropertiesResult |
QueueContract.getServiceProperties(QueueServiceOptions options)
Gets the service properties of the queue, using the specified options.
|
void |
QueueContract.setQueueMetadata(String queue,
HashMap<String,String> metadata,
QueueServiceOptions options)
Sets the specified metadata on the named queue in the storage account,
using the specified options.
|
void |
QueueContract.setServiceProperties(ServiceProperties serviceProperties,
QueueServiceOptions options)
Sets the service properties of the queue, using the specified options.
|
UpdateMessageResult |
QueueContract.updateMessage(String queue,
String messageId,
String popReceipt,
String messageText,
int visibilityTimeoutInSeconds,
QueueServiceOptions options)
Updates the message in the named queue with the specified message ID and
pop receipt value to have the specified message text and visibility
timeout value, using the specified options.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CreateMessageOptions
Represents the options that may be set on the Queue service for
createMessage requests. |
class |
CreateQueueOptions
Represents the options that may be set on a queue when created in the storage
service with a
createQueue request. |
class |
ListMessagesOptions
Represents the options that may be set on a
listMessages
request. |
class |
ListQueuesOptions
Represents the options that may be set on the Queue service for
QueueContract.listQueues(ListQueuesOptions) requests. |
class |
PeekMessagesOptions
Represents the options that may be set on a
peekMessages
request. |
| Modifier and Type | Method and Description |
|---|---|
QueueServiceOptions |
QueueServiceOptions.setTimeout(Integer timeout)
Sets the server request timeout value associated with this
QueueServiceOptions instance. |
/**
* 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.
*/