org.apache.activemq.apollo.dto
Class QueueDTO

java.lang.Object
  extended by org.apache.activemq.apollo.dto.StringIdDTO
      extended by org.apache.activemq.apollo.dto.QueueDTO
Direct Known Subclasses:
DurableSubscriptionDTO

public class QueueDTO
extends StringIdDTO

Author:
Hiram Chirino

Field Summary
 java.lang.Integer auto_delete_after
          Controls when the queue will auto delete.
 java.lang.String catchup_enqueue_rate
          If set, and the the current delivery rate is exceeding the configured value of fast_delivery_rate and the consumers are spending more time loading from the store than delivering, then the enqueue rate will be throttled to the specified value so that the consumers can catch up and reach the tail of the queue.
 java.lang.String fast_delivery_rate
          The message delivery rate (in bytes/sec) at which the queue considers the consumers fast and may start slowing down producers to match the consumption rate if the consumers are at the tail of the queue.
 java.lang.String max_enqueue_rate
          The maximum enqueue rate of the queue
 java.lang.Boolean mirrored
          If set to true, then once the queue is created all messages sent to the queue will be mirrored to a topic of the same name and all messages sent to the topic will be mirror to the queue.
 java.util.List<java.lang.Object> other
          To hold any other non-matching XML elements
 java.lang.Boolean persistent
          Should this queue persistently store it's entries?
 java.lang.String quota
          The maximum amount of disk space the queue is allowed to grow to.
 java.lang.Boolean swap
          Should messages be swapped out of memory if no consumers need the message?
 java.lang.Integer swap_range_size
          The number max number of swapped queue entries to load from the store at a time.
 java.lang.String tail_buffer
          The amount of memory buffer space to use for swapping messages out.
 
Fields inherited from class org.apache.activemq.apollo.dto.StringIdDTO
id
 
Constructor Summary
QueueDTO()
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

auto_delete_after

public java.lang.Integer auto_delete_after
Controls when the queue will auto delete. If set to zero, then the queue will NOT auto delete, otherwise the queue will auto delete after it has been unused for the number of seconds configured in this field. If unset, it defaults to 5 minutes.


mirrored

public java.lang.Boolean mirrored
If set to true, then once the queue is created all messages sent to the queue will be mirrored to a topic of the same name and all messages sent to the topic will be mirror to the queue.


tail_buffer

public java.lang.String tail_buffer
The amount of memory buffer space to use for swapping messages out.


persistent

public java.lang.Boolean persistent
Should this queue persistently store it's entries?


swap

public java.lang.Boolean swap
Should messages be swapped out of memory if no consumers need the message?


swap_range_size

public java.lang.Integer swap_range_size
The number max number of swapped queue entries to load from the store at a time. Note that swapped entries are just reference pointers to the actual messages. When not loaded, the batch is referenced as sequence range to conserve memory.


quota

public java.lang.String quota
The maximum amount of disk space the queue is allowed to grow to. If not set then there is no limit. You can use settings values like: 500mb or 1g just plain 1024000


fast_delivery_rate

public java.lang.String fast_delivery_rate
The message delivery rate (in bytes/sec) at which the queue considers the consumers fast and may start slowing down producers to match the consumption rate if the consumers are at the tail of the queue.


catchup_enqueue_rate

public java.lang.String catchup_enqueue_rate
If set, and the the current delivery rate is exceeding the configured value of fast_delivery_rate and the consumers are spending more time loading from the store than delivering, then the enqueue rate will be throttled to the specified value so that the consumers can catch up and reach the tail of the queue.


max_enqueue_rate

public java.lang.String max_enqueue_rate
The maximum enqueue rate of the queue


other

public java.util.List<java.lang.Object> other
To hold any other non-matching XML elements

Constructor Detail

QueueDTO

public QueueDTO()
Method Detail

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class StringIdDTO

hashCode

public int hashCode()
Overrides:
hashCode in class StringIdDTO


Copyright © 2005-2012 The Apache Software Foundation. All Rights Reserved.