public class QueueInfo
extends com.microsoft.windowsazure.services.servicebus.implementation.EntryModel<com.microsoft.windowsazure.services.servicebus.implementation.QueueDescription>
| Constructor and Description |
|---|
QueueInfo()
Creates an instance of the
QueueInfo class. |
QueueInfo(com.microsoft.windowsazure.services.servicebus.implementation.Entry entry)
Creates an instance of the
QueueInfo class using the
specified entry. |
QueueInfo(String path)
Creates an instance of the
QueueInfo class using the
specified name. |
| Modifier and Type | Method and Description |
|---|---|
Calendar |
getAccessedAt()
Gets the accessed at.
|
Duration |
getAutoDeleteOnIdle()
Gets the time span before auto deletion starts.
|
com.microsoft.windowsazure.services.servicebus.implementation.MessageCountDetails |
getCountDetails()
Gets the message count details.
|
Calendar |
getCreatedAt()
Gets the created at.
|
Duration |
getDefaultMessageTimeToLive()
Returns the default message time-to-live (TTL).
|
Duration |
getDuplicateDetectionHistoryTimeWindow()
Returns the time span during which the service bus will detect message
duplication.
|
com.microsoft.windowsazure.services.servicebus.implementation.EntityAvailabilityStatus |
getEntityAvailabilityStatus()
Gets the entity availability status.
|
String |
getForwardTo()
Gets a
String instance representing entity to forward to. |
Duration |
getLockDuration()
Returns the duration of the lock.
|
Integer |
getMaxDeliveryCount()
Returns the maximum delivery count for the queue.
|
Long |
getMaxSizeInMegabytes()
Returns the maximum size of the queue.
|
Long |
getMessageCount()
Returns the number of messages in the queue.
|
com.microsoft.windowsazure.services.servicebus.implementation.PartitioningPolicy |
getPartitioningPolicy()
Gets the partitioning policy.
|
String |
getPath()
Returns the name of the queue.
|
Long |
getSizeInBytes()
Returns the size of the queue.
|
com.microsoft.windowsazure.services.servicebus.implementation.EntityStatus |
getStatus()
Gets the status.
|
Calendar |
getUpdatedAt()
Gets the updated at.
|
URI |
getUri()
Gets the URI of the
QueueInfo instance. |
String |
getUserMetadata()
Gets the user metadata.
|
Boolean |
isAnonymousAccessible()
Checks if is anonymous accessible.
|
Boolean |
isDeadLetteringOnMessageExpiration()
Indicates whether dead lettering is in effect upon message expiration.
|
Boolean |
isEnableBatchedOperations()
Indicates whether batch operations are enabled.
|
Boolean |
isRequiresDuplicateDetection()
Indicates whether duplicate message detection is required.
|
Boolean |
isRequiresSession()
Indicates whether the queue is session-aware.
|
Boolean |
isSupportOrdering()
Checks if is support ordering.
|
QueueInfo |
setAccessedAt(Calendar accessedAt)
Sets the accessed at.
|
QueueInfo |
setAutoDeleteOnIdle(Duration autoDeleteOnIdle)
Sets the time span before auto deletion starts.
|
QueueInfo |
setCreatedAt(Calendar createdAt)
Sets the created at.
|
QueueInfo |
setDeadLetteringOnMessageExpiration(Boolean value)
Specifies whether dead lettering is in effect upon message expiration.
|
QueueInfo |
setDefaultMessageTimeToLive(Duration value)
Sets the default message time-to-live (TTL).
|
QueueInfo |
setDuplicateDetectionHistoryTimeWindow(Duration value)
Sets the time span during which the service bus will detect message
duplication.
|
QueueInfo |
setEnableBatchedOperations(Boolean value)
Specifies whether batch operations are enabled.
|
QueueInfo |
setEntityAvailabilityStatus(com.microsoft.windowsazure.services.servicebus.implementation.EntityAvailabilityStatus entityAvailabilityStatus)
Sets the entity availability status.
|
QueueInfo |
setForwardTo(String forwardTo)
Sets the URI of the entity to forward to.
|
QueueInfo |
setIsAnonymousAccessible(Boolean isAnonymousAccessible)
Sets the is anonymous accessible.
|
QueueInfo |
setLockDuration(Duration value)
Sets the duration of the lock.
|
QueueInfo |
setMaxDeliveryCount(Integer value)
Sets the maximum delivery count for the queue.
|
QueueInfo |
setMaxSizeInMegabytes(Long value)
Sets the maximum size of the queue.
|
QueueInfo |
setMessageCount(Long messageCount)
Sets the message count.
|
QueueInfo |
setPartitioningPolicy(com.microsoft.windowsazure.services.servicebus.implementation.PartitioningPolicy partitioningPolicy)
Sets the partitioning policy.
|
QueueInfo |
setPath(String value)
Sets the name of the queue.
|
QueueInfo |
setRequiresDuplicateDetection(Boolean value)
Specifies whether duplicate message detection is required.
|
QueueInfo |
setRequiresSession(Boolean value)
Specifies whether the queue is session-aware.
|
QueueInfo |
setSizeInBytes(Long sizeInBytes)
Sets the size in bytes.
|
QueueInfo |
setStatus(com.microsoft.windowsazure.services.servicebus.implementation.EntityStatus entityStatus)
Sets the status.
|
QueueInfo |
setSupportOrdering(Boolean supportOrdering)
Sets the support ordering.
|
QueueInfo |
setUpdatedAt(Calendar updatedAt)
Sets the updated at.
|
QueueInfo |
setUri(URI uri)
Sets the URI of the
QueueInfo instance. |
QueueInfo |
setUserMetadata(String userMetadata)
Sets the user metadata.
|
public QueueInfo()
QueueInfo class.public QueueInfo(com.microsoft.windowsazure.services.servicebus.implementation.Entry entry)
QueueInfo class using the
specified entry.entry - An Entry object.public QueueInfo(String path)
QueueInfo class using the
specified name.path - A String object that represents the name of the
queue.public String getPath()
String object that represents the name of the
queue.public QueueInfo setPath(String value)
value - A String that represents the name of the queue.QueueInfo object that represents the updated
queue.public Duration getLockDuration()
Duration object that represents the duration of
the lock.public QueueInfo setLockDuration(Duration value)
value - The duration, in seconds, of the lock.QueueInfo object that represents the updated
queue.public Long getMaxSizeInMegabytes()
public QueueInfo setMaxSizeInMegabytes(Long value)
value - The maximum size, in megabytes, of the queue.QueueInfo object that represents the updated
queue.public Boolean isRequiresDuplicateDetection()
true if duplicate message detection is required;
otherwise, false.public QueueInfo setRequiresDuplicateDetection(Boolean value)
value - true if duplicate message detection is required;
otherwise, false.QueueInfo object that represents the updated
queue.public Boolean isRequiresSession()
true if the queue is session aware; otherwise,
false.public QueueInfo setRequiresSession(Boolean value)
value - true if the queue is session aware; otherwise,
false.QueueInfo object that represents the updated
queue.public Duration getDefaultMessageTimeToLive()
Duration object that represents the default
message TTL.public QueueInfo setDefaultMessageTimeToLive(Duration value)
value - A Duration object that represents the default
message TTL.QueueInfo object that represents the updated
queue.public Duration getAutoDeleteOnIdle()
Duration object that represents the time span
before auto deletion.public QueueInfo setAutoDeleteOnIdle(Duration autoDeleteOnIdle)
autoDeleteOnIdle - A Duration object that represents the time span
before auto deletion starts.QueueInfo object that represents the updated
queue.public Boolean isDeadLetteringOnMessageExpiration()
true if dead lettering is in effect; otherwise,
false.public QueueInfo setDeadLetteringOnMessageExpiration(Boolean value)
value - true if dead lettering is in effect; otherwise,
false.QueueInfo object that represents the updated
queue.public Duration getDuplicateDetectionHistoryTimeWindow()
Duration object that represents the time span for
detecting message duplication.public QueueInfo setDuplicateDetectionHistoryTimeWindow(Duration value)
value - A Duration object that represents the time span
for detecting message duplication.QueueInfo object that represents the updated
queue.public Integer getMaxDeliveryCount()
Integer object that represents the maximum
delivery count.public QueueInfo setMaxDeliveryCount(Integer value)
value - The maximum delivery count for the queue.QueueInfo object that represents the updated
queue.public Boolean isEnableBatchedOperations()
true if batch operations are enabled; otherwise,
false.public QueueInfo setEnableBatchedOperations(Boolean value)
value - true if batch operations are enabled; otherwise,
false.QueueInfo object that represents the updated
queue.public Long getSizeInBytes()
Long object that represents the size of the queue
in bytes.public QueueInfo setSizeInBytes(Long sizeInBytes)
sizeInBytes - the size in bytesQueueInfo object that represents the updated
queue.public Long getMessageCount()
Long object that represents the number of messages
in the queue.public QueueInfo setMessageCount(Long messageCount)
messageCount - the message countQueueInfo object that represents the updated
queue.public Boolean isAnonymousAccessible()
true if the queue can be accessed anonymously.
Otherwise, false.public QueueInfo setIsAnonymousAccessible(Boolean isAnonymousAccessible)
isAnonymousAccessible - the is anonymous accessibleQueueInfo object that represents the updated
queue.public Boolean isSupportOrdering()
true if ordering is supported, otherwise,
false.public QueueInfo setSupportOrdering(Boolean supportOrdering)
supportOrdering - A Boolean object represents whether the queue
supports ordering.QueueInfo object that represents the updated
queue.public com.microsoft.windowsazure.services.servicebus.implementation.EntityStatus getStatus()
EntityStatus object.public QueueInfo setStatus(com.microsoft.windowsazure.services.servicebus.implementation.EntityStatus entityStatus)
entityStatus - the entity statusQueueInfo object that represents the updated
queue.public com.microsoft.windowsazure.services.servicebus.implementation.EntityAvailabilityStatus getEntityAvailabilityStatus()
EntityAvailabilityStatus object which represents
the availability status of the entity.public QueueInfo setEntityAvailabilityStatus(com.microsoft.windowsazure.services.servicebus.implementation.EntityAvailabilityStatus entityAvailabilityStatus)
entityAvailabilityStatus - A EntityAvailabilityStatus object.QueueInfo object that represents the updated
queue.public Calendar getCreatedAt()
Calendar object which represents the time of the
queue created at.public QueueInfo setCreatedAt(Calendar createdAt)
createdAt - A Calendar ojbect which represnets the time of
the queue created at.QueueInfo object that represents the updated
queue.public Calendar getUpdatedAt()
Calendar object which represents the time that the
queue was updated at.public QueueInfo setUpdatedAt(Calendar updatedAt)
updatedAt - A Calendar object which represents the time that
the queue was updated at.QueueInfo object that represents the updated
queue.public Calendar getAccessedAt()
Calendar object which represents the time that the
queue was accessed at.public QueueInfo setAccessedAt(Calendar accessedAt)
accessedAt - A Calendar object which represents the time that
the queue was accessed at.QueueInfo object that represents the updated
queue.public com.microsoft.windowsazure.services.servicebus.implementation.PartitioningPolicy getPartitioningPolicy()
PartitioningPolicy represents the partitioning
policy.public QueueInfo setPartitioningPolicy(com.microsoft.windowsazure.services.servicebus.implementation.PartitioningPolicy partitioningPolicy)
partitioningPolicy - A PartitioningPolicy represents the partitioning
policy.QueueInfo object that represents the updated
queue.public String getUserMetadata()
String objects which contains the user metadata.public QueueInfo setUserMetadata(String userMetadata)
userMetadata - A String objects which contains the user
metadata.QueueInfo object that represents the updated
queue.public com.microsoft.windowsazure.services.servicebus.implementation.MessageCountDetails getCountDetails()
MessageCountDetails instance that represents the
details of the message count.public QueueInfo setUri(URI uri)
QueueInfo instance.uri - the URI of the QueueInfoQueueInfo object that represents the updated
queue.public URI getUri()
QueueInfo instance.URI representing the QueueInfo.public QueueInfo setForwardTo(String forwardTo)
forwardTo - A String instance representing the URI of the
entity to forward message to.QueueInfo instance representing the updated queue
information.public String getForwardTo()
String instance representing entity to forward to.String instance representing the URI of the
instance to forward to./**
* Copyright Microsoft Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/