public final class TopicRuntimeProperties extends Object
| Constructor and Description |
|---|
TopicRuntimeProperties(TopicProperties topicProperties)
Creates a new instance with runtime properties extracted from the given TopicDescription.
|
| 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 topic.
|
OffsetDateTime |
getCreatedAt()
Gets the exact time the queue was created.
|
String |
getName()
Gets the name of the topic.
|
int |
getScheduledMessageCount()
Get the scheduledMessageCount property: Number of scheduled messages.
|
long |
getSizeInBytes()
Gets the size of the topic, in bytes.
|
int |
getSubscriptionCount()
Gets the number of subscriptions to the topic.
|
OffsetDateTime |
getUpdatedAt()
Gets the exact time the topic description was updated.
|
public TopicRuntimeProperties(TopicProperties topicProperties)
topicProperties - Topic description to extract runtime properties from.NullPointerException - if topicDescription is null.public OffsetDateTime getAccessedAt()
public OffsetDateTime getCreatedAt()
public String getName()
public long getSizeInBytes()
public int getScheduledMessageCount()
public int getSubscriptionCount()
public OffsetDateTime getUpdatedAt()
Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.