QueueDescription 类

定义

Represents the metadata description of the queue.

public class QueueDescription
继承
java.lang.Object
QueueDescription

构造函数

QueueDescription(String path)

Initializes a new instance of QueueDescription 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.

getForwardDeadLetteredMessagesTo()
getForwardTo()
getLockDuration()

The amount of time that the message is locked by a given receiver so that no other receiver receives the same message.

getMaxDeliveryCount()

The maximum delivery count of a message before it is dead-lettered. The delivery count is increased when a message is received in PEEKLOCK mode and didn't complete the message before the message lock expired.

getMaxSizeInMB()
getPath()
getUserMetadata()
hashCode()
isEnableBatchedOperations()
isEnableDeadLetteringOnMessageExpiration()

Indicates whether this queue has dead letter support when a message expires.

isEnablePartitioning()
isRequiresDuplicateDetection()

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

isRequiresSession()
setAuthorizationRules(List<AuthorizationRule> authorizationRules)
setAutoDeleteOnIdle(Duration autoDeleteOnIdle)
setDefaultMessageTimeToLive(Duration defaultMessageTimeToLive)
setDuplicationDetectionHistoryTimeWindow(Duration duplicationDetectionHistoryTimeWindow)
setEnableBatchedOperations(boolean enableBatchedOperations)
setEnableDeadLetteringOnMessageExpiration(boolean enableDeadLetteringOnMessageExpiration)
setEnablePartitioning(boolean enablePartitioning)
setEntityStatus(EntityStatus status)
setForwardDeadLetteredMessagesTo(String forwardDeadLetteredMessagesTo)
setForwardTo(String forwardTo)
setLockDuration(Duration lockDuration)

Sets The amount of time that the message is locked by a given receiver so that no other receiver receives the same message.

setMaxDeliveryCount(int maxDeliveryCount)

The maximum delivery count of a message before it is dead-lettered. The delivery count is increased when a message is received in PEEKLOCK mode and didn't complete the message before the message lock expired.

setMaxSizeInMB(long maxSize)
setRequiresDuplicateDetection(boolean requiresDuplicateDetection)
setRequiresSession(boolean requiresSession)
setUserMetadata(String userMetadata)

适用于