MessageCountDetails Class
- java.
lang. Object - com.
azure. resourcemanager. servicebus. models. MessageCountDetails
- com.
Implements
public final class MessageCountDetails
implements JsonSerializable<MessageCountDetails>
Message Count Details.
Constructor Summary
Constructor | Description |
---|---|
MessageCountDetails() |
Creates an instance of Message |
Method Summary
Modifier and Type | Method and Description |
---|---|
Long |
activeMessageCount()
Get the active |
Long |
deadLetterMessageCount()
Get the dead |
static
Message |
fromJson(JsonReader jsonReader)
Reads an instance of Message |
Long |
scheduledMessageCount()
Get the scheduled |
Json |
toJson(JsonWriter jsonWriter) |
Long |
transferDeadLetterMessageCount()
Get the transfer |
Long |
transferMessageCount()
Get the transfer |
void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
MessageCountDetails
public MessageCountDetails()
Creates an instance of MessageCountDetails class.
Method Details
activeMessageCount
public Long activeMessageCount()
Get the activeMessageCount property: Number of active messages in the queue, topic, or subscription.
Returns:
deadLetterMessageCount
public Long deadLetterMessageCount()
Get the deadLetterMessageCount property: Number of messages that are dead lettered.
Returns:
fromJson
public static MessageCountDetails fromJson(JsonReader jsonReader)
Reads an instance of MessageCountDetails from the JsonReader.
Parameters:
Returns:
Throws:
scheduledMessageCount
public Long scheduledMessageCount()
Get the scheduledMessageCount property: Number of scheduled messages.
Returns:
toJson
transferDeadLetterMessageCount
public Long transferDeadLetterMessageCount()
Get the transferDeadLetterMessageCount property: Number of messages transferred into dead letters.
Returns:
transferMessageCount
public Long transferMessageCount()
Get the transferMessageCount property: Number of messages transferred to another queue, topic, or subscription.
Returns:
validate
public void validate()
Validates the instance.
Applies to
Azure SDK for Java