BEA Systems, Inc.

WebLogic Server 6.1 API Reference

weblogic.management.runtime
Interface JMSDestinationRuntimeMBean


public interface JMSDestinationRuntimeMBean
extends weblogic.management.runtime.RuntimeMBean

This class is used for monitoring a WebLogic JMS destination (topic or queue).

Author:
Copyright © 2001 BEA Systems, Inc. All Rights Reserved.

Method Summary
 long getBytesCurrentCount()
          Returns the current number of bytes stored in the destination.
 long getBytesHighCount()
          Returns the peak number of bytes stored in the destination since the last reset.
 long getBytesPendingCount()
          Returns the number of pending bytes stored in the destination.
 long getBytesReceivedCount()
          Returns the number of bytes received in this destination since the last reset.
 long getBytesThresholdTime()
          Returns the amount of time in the threshold condition since the last reset.
 long getConsumersCurrentCount()
          Returns the current number of consumers accessing this destination.
 long getConsumersHighCount()
          Returns the peak number of consumers accessing this destination since the last reset.
 long getConsumersTotalCount()
          Returns the total number of consumers accessing this destination since the last reset.
 java.lang.String getDestinationType()
          Returns weblogic.management.configuration.JMSConstants.DESTINATION_TYPE_QUEUE or weblogic.management.configuration.JMSConstants.DESTINATION_TYPE_TOPIC
 JMSDurableSubscriberRuntimeMBean[] getDurableSubscribers()
          Returns an array of durable subscriber run-time MBeans for this destination.
 long getMessagesCurrentCount()
          Returns the current number of messages in the destination.
 long getMessagesHighCount()
          Returns the peak number of messages in the destination since the last reset.
 long getMessagesPendingCount()
          Returns the number of pending messages in the destination.
 long getMessagesReceivedCount()
          Returns the number of messages received in this destination since that reset.
 long getMessagesThresholdTime()
          Returns the amount of time in the threshold condition since the last reset.
 void pause()
          Pauses the destination so that new messages are not accepted.
 void resume()
          Resumes the destination so that new messages are accepted.
 
Methods inherited from interface weblogic.management.WebLogicMBean
getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, setParent
 
Methods inherited from interface javax.management.DynamicMBean
getAttribute, getAttributes, invoke, setAttribute, setAttributes
 
Methods inherited from interface javax.management.MBeanRegistration
postDeregister, postRegister, preDeregister, preRegister
 
Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener
 

Method Detail

getDurableSubscribers

public JMSDurableSubscriberRuntimeMBean[] getDurableSubscribers()
Returns an array of durable subscriber run-time MBeans for this destination.


getConsumersCurrentCount

public long getConsumersCurrentCount()
Returns the current number of consumers accessing this destination.


getConsumersHighCount

public long getConsumersHighCount()
Returns the peak number of consumers accessing this destination since the last reset.


getConsumersTotalCount

public long getConsumersTotalCount()
Returns the total number of consumers accessing this destination since the last reset.


getMessagesCurrentCount

public long getMessagesCurrentCount()
Returns the current number of messages in the destination. This does not include the pending messages.


getMessagesPendingCount

public long getMessagesPendingCount()
Returns the number of pending messages in the destination. Pending messages are over and above the current number of messages. A pending message is one that has either been sent in a trasaction and not committed, or that has been received and not committed or acknowledged.


getMessagesHighCount

public long getMessagesHighCount()
Returns the peak number of messages in the destination since the last reset.


getMessagesReceivedCount

public long getMessagesReceivedCount()
Returns the number of messages received in this destination since that reset.


getMessagesThresholdTime

public long getMessagesThresholdTime()
Returns the amount of time in the threshold condition since the last reset.


getBytesCurrentCount

public long getBytesCurrentCount()
Returns the current number of bytes stored in the destination. This does not include the pending bytes.


getBytesPendingCount

public long getBytesPendingCount()
Returns the number of pending bytes stored in the destination. Pending bytes are over and above the current number of bytes.


getBytesHighCount

public long getBytesHighCount()
Returns the peak number of bytes stored in the destination since the last reset.


getBytesReceivedCount

public long getBytesReceivedCount()
Returns the number of bytes received in this destination since the last reset.


getBytesThresholdTime

public long getBytesThresholdTime()
Returns the amount of time in the threshold condition since the last reset.


getDestinationType

public java.lang.String getDestinationType()
Returns weblogic.management.configuration.JMSConstants.DESTINATION_TYPE_QUEUE or weblogic.management.configuration.JMSConstants.DESTINATION_TYPE_TOPIC


pause

public void pause()
Pauses the destination so that new messages are not accepted.


resume

public void resume()
Resumes the destination so that new messages are accepted.


Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs61

WebLogic classes and methods that do not appear in this reference are not public and are not supported.