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.Integer consumer_buffer
          The amount of memory buffer space to use per consumer.
 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.Integer queue_buffer
          The amount of memory buffer space for the queue..
 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.Boolean unified
          If set to true, then routing then there is no difference between sending to a queue or topic of the same name.
 
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.


unified

public java.lang.Boolean unified
If set to true, then routing then there is no difference between sending to a queue or topic of the same name. The first time a queue is created, it will act like if a durable subscription was created on the topic.


queue_buffer

public java.lang.Integer queue_buffer
The amount of memory buffer space for the queue..


consumer_buffer

public java.lang.Integer consumer_buffer
The amount of memory buffer space to use per consumer.


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


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-2011 The Apache Software Foundation. All Rights Reserved.