org.apache.activemq.apollo.dto
Class QueueMetricsDTO

java.lang.Object
  extended by org.apache.activemq.apollo.dto.QueueMetricsDTO
Direct Known Subclasses:
AggregateQueueMetricsDTO

public class QueueMetricsDTO
extends java.lang.Object

Collects metrics about the status of a queue since the time a broker gets started.

Note that you may need to do a little math to compute how much the number of message swapped on disk: swapped_out_size = queue_size - swapped_in_size

Author:
Hiram Chirino

Field Summary
 long dequeue_item_counter
          The number of messages that have been removed from the queue.
 long dequeue_size_counter
          The total size in bytes of messages that have been removed from the queue.
 long dequeue_ts
          The time stamp of when the last dequeue occurred.
 long enqueue_item_counter
          The number of messages that have been added to the queue.
 long enqueue_size_counter
          The total size in bytes of messages that have been added to the queue.
 long enqueue_ts
          The time stamp of when the last enqueue occurred.
 long nack_item_counter
          The number of messages that were delivered to a consumer but which the consumer did not successfully process.
 long nack_size_counter
          The total size in bytes of messages that were delivered to a consumer but which the consumer did not successfully process.
 long nack_ts
          The time stamp of when the last nack occurred.
 long queue_items
          The total number of messages that are sitting in the queue.
 long queue_size
          The total size in bytes of messages that are sitting in the queue.
 long swap_in_item_counter
          The total number of messages that have ever been moved from persistent storage into RAM.
 long swap_in_size_counter
          The total size in bytes of messages that have ever been moved from persistent storage into RAM.
 long swap_out_item_counter
          The total number of messages that have ever been moved from RAM into persistent storage.
 long swap_out_size_counter
          The total size in bytes of messages that have ever been moved from RAM into persistent storage.
 int swapped_in_items
          The total number of messages that are resident in the broker's RAM.
 int swapped_in_size
          The total size in bytes of messages that are resident in the broker's RAM.
 int swapped_in_size_max
          The maximum amount of RAM this queue will use to process in flight messages.
 int swapping_in_size
          The total size in bytes of messages that are being loaded from persistent storage into RAM
 int swapping_out_size
          The total size in bytes of messages that are being evicted from RAM into persistent storage.
 
Constructor Summary
QueueMetricsDTO()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

enqueue_item_counter

public long enqueue_item_counter
The number of messages that have been added to the queue. This includes any messages which were recovered from persistent storage when the broker was first started.


enqueue_size_counter

public long enqueue_size_counter
The total size in bytes of messages that have been added to the queue. This includes any messages which were recovered from persistent storage when the broker was first started.


enqueue_ts

public long enqueue_ts
The time stamp of when the last enqueue occurred.


dequeue_item_counter

public long dequeue_item_counter
The number of messages that have been removed from the queue.


dequeue_size_counter

public long dequeue_size_counter
The total size in bytes of messages that have been removed from the queue.


dequeue_ts

public long dequeue_ts
The time stamp of when the last dequeue occurred.


nack_item_counter

public long nack_item_counter
The number of messages that were delivered to a consumer but which the consumer did not successfully process.


nack_size_counter

public long nack_size_counter
The total size in bytes of messages that were delivered to a consumer but which the consumer did not successfully process.


nack_ts

public long nack_ts
The time stamp of when the last nack occurred.


queue_size

public long queue_size
The total size in bytes of messages that are sitting in the queue.


queue_items

public long queue_items
The total number of messages that are sitting in the queue.


swapped_in_size_max

public int swapped_in_size_max
The maximum amount of RAM this queue will use to process in flight messages. The queue will either flow control producers or swap messages to persistent storage once this limit is reached.


swapped_in_size

public int swapped_in_size
The total size in bytes of messages that are resident in the broker's RAM.


swapped_in_items

public int swapped_in_items
The total number of messages that are resident in the broker's RAM.


swapping_in_size

public int swapping_in_size
The total size in bytes of messages that are being loaded from persistent storage into RAM


swapping_out_size

public int swapping_out_size
The total size in bytes of messages that are being evicted from RAM into persistent storage.


swap_out_item_counter

public long swap_out_item_counter
The total number of messages that have ever been moved from RAM into persistent storage.


swap_out_size_counter

public long swap_out_size_counter
The total size in bytes of messages that have ever been moved from RAM into persistent storage.


swap_in_item_counter

public long swap_in_item_counter
The total number of messages that have ever been moved from persistent storage into RAM.


swap_in_size_counter

public long swap_in_size_counter
The total size in bytes of messages that have ever been moved from persistent storage into RAM.

Constructor Detail

QueueMetricsDTO

public QueueMetricsDTO()


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