org.apache.activemq.broker.view
Class BrokerDestinationView

java.lang.Object
  extended by org.apache.activemq.broker.view.BrokerDestinationView

public class BrokerDestinationView
extends Object


Method Summary
 double getAverageBlockedTime()
           
 double getAverageEnqueueTime()
           
 double getAverageMessageSize()
           
 long getBlockedSends()
           
 int getConsumerCount()
           
 long getDequeueCount()
           
 long getDispatchCount()
           
 long getEnqueueCount()
           
 long getExpiredCount()
           
 long getInFlightCount()
           
 long getMaxEnqueueTime()
           
 long getMaxMessageSize()
           
 long getMemoryLimit()
           
 int getMemoryPercentUsage()
           
 long getMemoryUsageByteCount()
           
 long getMessagesCached()
           
 long getMinEnqueueTime()
           
 long getMinMessageSize()
           
 String getName()
           
 int getProducerCount()
           
 long getQueueSize()
           
 long getTotalBlockedTime()
           
 boolean isDLQ()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getName

public String getName()
Returns:
the name of the DestinationView

getEnqueueCount

public long getEnqueueCount()
Returns:
the number of messages enqueued by this destination

getDequeueCount

public long getDequeueCount()
Returns:
the number of messages dequeued (dispatched and removed) by this destination

getDispatchCount

public long getDispatchCount()
Returns:
the number of messages dispatched by this destination

getInFlightCount

public long getInFlightCount()
Returns:
the number of messages inflight (dispatched by not acknowledged) by this destination

getExpiredCount

public long getExpiredCount()
Returns:
the number of messages expired by this destination

getConsumerCount

public int getConsumerCount()
Returns:
the number of active consumers on this destination

getProducerCount

public int getProducerCount()
Returns:
the number of active consumers on this destination

getQueueSize

public long getQueueSize()
Returns:
the depth of the Destination

getMessagesCached

public long getMessagesCached()
Returns:
the number of messages cached in memory by this destination

getMemoryPercentUsage

public int getMemoryPercentUsage()
Returns:
the memory usage as a percentage for this Destination

getMemoryUsageByteCount

public long getMemoryUsageByteCount()
Returns:
the memory used by this destination in bytes

getMemoryLimit

public long getMemoryLimit()
Returns:
the memory limit for this destination in bytes

getAverageEnqueueTime

public double getAverageEnqueueTime()
Returns:
the average time it takes to store a message on this destination (ms)

getMaxEnqueueTime

public long getMaxEnqueueTime()
Returns:
the maximum time it takes to store a message on this destination (ms)

getMinEnqueueTime

public long getMinEnqueueTime()
Returns:
the minimum time it takes to store a message on this destination (ms)

getAverageMessageSize

public double getAverageMessageSize()
Returns:
the average size of a message (bytes)

getMaxMessageSize

public long getMaxMessageSize()
Returns:
the max size of a message (bytes)

getMinMessageSize

public long getMinMessageSize()
Returns:
the min size of a message (bytes)

isDLQ

public boolean isDLQ()
Returns:
true if the destination is a Dead Letter Queue

getBlockedSends

public long getBlockedSends()
Returns:
the number of messages blocked waiting for dispatch (indication of slow consumption if greater than zero)

getAverageBlockedTime

public double getAverageBlockedTime()
Returns:
the average time(ms) messages are blocked waiting for dispatch (indication of slow consumption if greater than zero)

getTotalBlockedTime

public long getTotalBlockedTime()
Returns:
the total time(ms) messages are blocked waiting for dispatch (indication of slow consumption if greater than zero)


Copyright © 2005–2013 The Apache Software Foundation. All rights reserved.