TopicDescription 类

定义

Represents the metadata description of the topic.

public class TopicDescription
继承
java.lang.Object
TopicDescription

构造函数

TopicDescription(String path)

Initializes a new instance of TopicDescription with the specified relative path.

方法

equals(Object o)
getAuthorizationRules()
getAutoDeleteOnIdle()
getDefaultMessageTimeToLive()

Time-To-live is the duration after which the message expires, starting from when the message is sent to Service Bus. This is the default value used when getTimeToLive() is not set on a message itself. Messages older than their TimeToLive value will expire and no longer be retained in the message store. Subscribers will be unable to receive expired messages.

getDuplicationDetectionHistoryTimeWindow()
getEntityStatus()

Gets the status of the entity. When an entity is disabled, that entity cannot send or receive messages.

getMaxSizeInMB()
getPath()
getUserMetadata()
hashCode()
isEnableBatchedOperations()
isEnablePartitioning()
isRequiresDuplicateDetection()

If enabled, duplicate messages having same getMessageId() and sent to queue within duration of getDuplicationDetectionHistoryTimeWindow() will be discarded.

isSupportOrdering()
setAuthorizationRules(List<AuthorizationRule> authorizationRules)
setAutoDeleteOnIdle(Duration autoDeleteOnIdle)
setDefaultMessageTimeToLive(Duration defaultMessageTimeToLive)
setDuplicationDetectionHistoryTimeWindow(Duration duplicationDetectionHistoryTimeWindow)
setEnableBatchedOperations(boolean enableBatchedOperations)
setEnablePartitioning(boolean enablePartitioning)
setEntityStatus(EntityStatus status)
setMaxSizeInMB(long maxSize)
setRequiresDuplicateDetection(boolean requiresDuplicateDetection)
setSupportOrdering(boolean supportOrdering)
setUserMetadata(String userMetadata)

适用于