org.apache.activemq.apollo.dto
Class DestMetricsDTO

java.lang.Object
  extended by org.apache.activemq.apollo.dto.DestMetricsDTO
Direct Known Subclasses:
AggregateDestMetricsDTO

public class DestMetricsDTO
extends java.lang.Object

Collects metrics about the status of a destination since the time the broker was started.

Note: To compute the total size in bytes of messages that are in persistent storage use the following algorithm: swapped_out_size = queue_size - swapped_in_size

Author:
Hiram Chirino

Field Summary
 long consumer_count
          The current number of consumers consuming from the destination.
 long consumer_counter
          The total number of consumers that have ever subscribed to the queue.
 long current_time
          The current time on the broker machine.
 long dequeue_item_counter
          The number of messages that have been sent to consumers on the destination.
 long dequeue_size_counter
          The total size in bytes of messages that have been sent to consumers on the destination.
 long dequeue_ts
          The time stamp of when the last dequeue to consumers occurred.
 long enqueue_item_counter
          The number of messages that have been sent to the destination.
 long enqueue_size_counter
          The total size in bytes of messages that have been sent to the destination
 long enqueue_ts
          The time stamp of when the last message was sent to the destination.
 long expired_item_counter
          The number of messages which expired before they could be processed.
 long expired_size_counter
          The total size in bytes of messages which expired before they could be processed.
 long expired_ts
          The time stamp of when the last message expiration 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 producer_count
          The current number of producers sending to the destination the queue.
 long producer_counter
          The total number of producers that have ever sent to the destination.
 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.
 long swapped_in_items
          The total number of messages that are resident in the broker's RAM.
 long swapped_in_size
          The total size in bytes of messages that are resident in the broker's RAM.
 long swapped_in_size_max
          The maximum amount of RAM this queue will use to process in flight messages.
 long swapping_in_size
          The total size in bytes of messages that are being loaded from persistent storage into RAM.
 long swapping_out_size
          The total size in bytes of messages that are being evicted from RAM into persistent storage.
 
Constructor Summary
DestMetricsDTO()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

current_time

public long current_time
The current time on the broker machine. In milliseconds since the epoch.


enqueue_item_counter

public long enqueue_item_counter
The number of messages that have been sent to the destination.


enqueue_size_counter

public long enqueue_size_counter
The total size in bytes of messages that have been sent to the destination


enqueue_ts

public long enqueue_ts
The time stamp of when the last message was sent to the destination.


dequeue_item_counter

public long dequeue_item_counter
The number of messages that have been sent to consumers on the destination.


dequeue_size_counter

public long dequeue_size_counter
The total size in bytes of messages that have been sent to consumers on the destination.


dequeue_ts

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


producer_counter

public long producer_counter
The total number of producers that have ever sent to the destination.


consumer_counter

public long consumer_counter
The total number of consumers that have ever subscribed to the queue.


producer_count

public long producer_count
The current number of producers sending to the destination the queue.


consumer_count

public long consumer_count
The current number of consumers consuming from the destination.


expired_item_counter

public long expired_item_counter
The number of messages which expired before they could be processed.


expired_size_counter

public long expired_size_counter
The total size in bytes of messages which expired before they could be processed.


expired_ts

public long expired_ts
The time stamp of when the last message expiration 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 long 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 long swapped_in_size
The total size in bytes of messages that are resident in the broker's RAM.


swapped_in_items

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


swapping_in_size

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


swapping_out_size

public long 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

DestMetricsDTO

public DestMetricsDTO()


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