BEA Systems, Inc.

WebLogic Server 6.1 API Reference

weblogic.management.runtime
Interface JMSConsumerRuntimeMBean


public interface JMSConsumerRuntimeMBean
extends weblogic.management.runtime.RuntimeMBean

This class is used for monitoring a WebLogic JMS consumer.

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

Method Summary
 long getBytesPendingCount()
          Returns the number of bytes pending (uncommitted and and unacknowledged) by this consumer.
 long getBytesReceivedCount()
          Returns the number of bytes received by this consumer since the last reset.
 java.lang.String getDestinationName()
          Returns the destination for this consumer.
 long getMessagesPendingCount()
          Returns the number of messages pending (uncommitted and unacknowledged) by this consumer.
 long getMessagesReceivedCount()
          Returns the number of messages received by this consumer since the last reset.
 java.lang.String getSelector()
          Returns the selector associated with this consumer, if any.
 boolean isActive()
          Determines if the consumer active.
 boolean isDurable()
          Determines whether the consumer is durable.
 
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

getDestinationName

public java.lang.String getDestinationName()
Returns the destination for this consumer.


isActive

public boolean isActive()
                 throws java.rmi.RemoteException
Determines if the consumer active. Determines whether the consumer has a message listener set up or a synchronous receive in progress.


getSelector

public java.lang.String getSelector()
Returns the selector associated with this consumer, if any.


isDurable

public boolean isDurable()
Determines whether the consumer is durable.


getMessagesPendingCount

public long getMessagesPendingCount()
Returns the number of messages pending (uncommitted and unacknowledged) by this consumer.


getMessagesReceivedCount

public long getMessagesReceivedCount()
Returns the number of messages received by this consumer since the last reset.


getBytesPendingCount

public long getBytesPendingCount()
Returns the number of bytes pending (uncommitted and and unacknowledged) by this consumer.


getBytesReceivedCount

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


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.