Package org.apache.activemq.broker.view
Class BrokerDestinationView
java.lang.Object
org.apache.activemq.broker.view.BrokerDestinationView
-
Method Details
-
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
-
getTempPercentUsage
public int getTempPercentUsage()Gets the temp usage as a percentage for this Destination.- Returns:
- Gets the temp usage as a percentage for this Destination.
-
getTempUsageLimit
public long getTempUsageLimit()Gets the temp usage limit in bytes.- Returns:
- the temp usage limit 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)
-