public class QueueRuntimeProperties extends Object
Constructor and Description |
---|
QueueRuntimeProperties(QueueProperties queueProperties)
Creates a new instance with runtime properties extracted from the given QueueDescription.
|
Modifier and Type | Method and Description |
---|---|
OffsetDateTime |
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 activeMessageCount property: Number of active messages in the queue, topic, or subscription.
|
OffsetDateTime |
getCreatedAt()
Gets the exact time the queue was created.
|
int |
getDeadLetterMessageCount()
Get the deadLetterMessageCount property: Number of messages that are dead lettered.
|
String |
getName()
Gets the name of the queue.
|
int |
getScheduledMessageCount()
Get the scheduledMessageCount property: Number of scheduled messages.
|
long |
getSizeInBytes()
Gets the size of the queue, in bytes.
|
long |
getTotalMessageCount()
Gets the number of messages in the queue.
|
int |
getTransferDeadLetterMessageCount()
Get the transferDeadLetterMessageCount property: Number of messages transferred into dead letters.
|
int |
getTransferMessageCount()
Get the transferMessageCount property: Number of messages transferred to another queue, topic, or subscription.
|
OffsetDateTime |
getUpdatedAt()
Gets the exact time a message was updated in the queue.
|
public QueueRuntimeProperties(QueueProperties queueProperties)
queueProperties
- Queue description to extract runtime properties from.NullPointerException
- if queueDescription
is null.public OffsetDateTime getAccessedAt()
public int getActiveMessageCount()
public OffsetDateTime getCreatedAt()
public int getDeadLetterMessageCount()
public long getTotalMessageCount()
public String getName()
public int getScheduledMessageCount()
public long getSizeInBytes()
public int getTransferDeadLetterMessageCount()
public int getTransferMessageCount()
public OffsetDateTime getUpdatedAt()
Copyright © 2021 Microsoft Corporation. All rights reserved.