QueueProperties Class
- java.
lang. Object - com.
azure. storage. queue. models. QueueProperties
- com.
public final class QueueProperties
Model class containing properties of a specific queue in the storage Queue service.
Constructor Summary
Constructor | Description |
---|---|
QueueProperties(Map<String,String> metadata, int approximateMessagesCount) |
Creates an instance that contains properties of a queue. |
Method Summary
Modifier and Type | Method and Description |
---|---|
int |
getApproximateMessagesCount()
Gets the approximate number of messages contained in the queue at the time of properties retrieval. |
Map<String,String> |
getMetadata()
Gets the user-defined metadata associated with the queue. |
Methods inherited from java.lang.Object
Constructor Details
QueueProperties
public QueueProperties(Map
Creates an instance that contains properties of a queue.
Parameters:
Method Details
getApproximateMessagesCount
public int getApproximateMessagesCount()
Gets the approximate number of messages contained in the queue at the time of properties retrieval.
Returns:
getMetadata
public Map
Gets the user-defined metadata associated with the queue.
Returns:
Applies to
Azure SDK for Java