QueueRuntimeProperties Class
- java.
lang. Object - com.
azure. messaging. servicebus. administration. models. QueueRuntimeProperties
- com.
public class QueueRuntimeProperties
Runtime properties about the queue.
Constructor Summary
Constructor | Description |
---|---|
QueueRuntimeProperties(QueueProperties queueProperties) |
Creates a new instance with runtime properties extracted from the given Queue |
Method Summary
Modifier and Type | Method and Description |
---|---|
Offset |
getAccessedAt()
Gets the last time a message was sent, or the last time there was a receive request to this queue. |
int |
getActiveMessageCount()
Get the active |
Offset |
getCreatedAt()
Gets the exact time the queue was created. |
int |
getDeadLetterMessageCount()
Get the dead |
String |
getName()
Gets the name of the queue. |
int |
getScheduledMessageCount()
Get the scheduled |
long |
getSizeInBytes()
Gets the size of the queue, in bytes. |
long |
getTotalMessageCount()
Gets the number of messages in the queue. |
int |
getTransferDeadLetterMessageCount()
Get the transfer |
int |
getTransferMessageCount()
Get the transfer |
Offset |
getUpdatedAt()
Gets the exact time a message was updated in the queue. |
Methods inherited from java.lang.Object
Constructor Details
QueueRuntimeProperties
public QueueRuntimeProperties(QueueProperties queueProperties)
Creates a new instance with runtime properties extracted from the given QueueDescription.
Parameters:
Method Details
getAccessedAt
public OffsetDateTime getAccessedAt()
Gets the last time a message was sent, or the last time there was a receive request to this queue.
Returns:
getActiveMessageCount
public int getActiveMessageCount()
Get the activeMessageCount property: Number of active messages in the queue, topic, or subscription.
Returns:
getCreatedAt
public OffsetDateTime getCreatedAt()
Gets the exact time the queue was created.
Returns:
getDeadLetterMessageCount
public int getDeadLetterMessageCount()
Get the deadLetterMessageCount property: Number of messages that are dead lettered.
Returns:
getName
public String getName()
Gets the name of the queue.
Returns:
getScheduledMessageCount
public int getScheduledMessageCount()
Get the scheduledMessageCount property: Number of scheduled messages.
Returns:
getSizeInBytes
public long getSizeInBytes()
Gets the size of the queue, in bytes.
Returns:
getTotalMessageCount
public long getTotalMessageCount()
Gets the number of messages in the queue.
Returns:
getTransferDeadLetterMessageCount
public int getTransferDeadLetterMessageCount()
Get the transferDeadLetterMessageCount property: Number of messages transferred into dead letters.
Returns:
getTransferMessageCount
public int getTransferMessageCount()
Get the transferMessageCount property: Number of messages transferred to another queue, topic, or subscription.
Returns:
getUpdatedAt
public OffsetDateTime getUpdatedAt()
Gets the exact time a message was updated in the queue.
Returns:
Applies to
Azure SDK for Java