public class GetQueueMetadataResult extends Object
QueueContract.getQueueMetadata(String) and
QueueContract.getQueueMetadata(String, QueueServiceOptions).
See the Get Queue Metadata documentation on MSDN for details of the underlying Queue Service REST API operation.
| Constructor and Description |
|---|
GetQueueMetadataResult() |
| Modifier and Type | Method and Description |
|---|---|
long |
getApproximateMessageCount()
Gets the queue's approximate message count, as reported by the server.
|
HashMap<String,String> |
getMetadata()
Gets the metadata collection of key-value
String pairs currently
set on a queue. |
void |
setApproximateMessageCount(long approximateMessageCount)
Reserved for internal use.
|
void |
setMetadata(HashMap<String,String> metadata)
Reserved for internal use.
|
public long getApproximateMessageCount()
public void setApproximateMessageCount(long approximateMessageCount)
approximateMessageCount - The queue's approximate message count to set.public HashMap<String,String> getMetadata()
String pairs currently
set on a queue. Queue metadata is a user-defined collection of key-value
pairs that is opaque to the server./**
* 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.
*/