BEA Systems, Inc.

Type-Safe Access to BEA WebLogic Server 9.0 MBeans (Deprecated)

(Methods marked with @since 9.0.0.0 are not available through the deprecated MBeanHome interface.)


weblogic.management.runtime
Interface JMSPooledConnectionRuntimeMBean

All Superinterfaces:
DynamicMBean, MBeanRegistration, NotificationBroadcaster, weblogic.management.runtime.RuntimeMBean, weblogic.management.WebLogicMBean

public interface JMSPooledConnectionRuntimeMBean
extends weblogic.management.runtime.RuntimeMBean

This class is used for monitoring pooled JMS connections. A pooled JMS connection is a session pool used by EJBs and servlets that use a resource-reference element in their EJB or Servlet deployment descriptor to define their JMS connection factories.

Deprecation of MBeanHome and Type-Safe Interfaces

This is a type-safe interface for a WebLogic Server MBean, which you can import into your client classes and access through weblogic.management.MBeanHome. As of 9.0, the MBeanHome interface and all type-safe interfaces for WebLogic Server MBeans are deprecated. Instead, client classes that interact with WebLogic Server MBeans should use standard JMX design patterns in which clients use the javax.management.MBeanServerConnection interface to discover MBeans, attributes, and attribute types at runtime. For more information, see "Developing Manageable Applications with JMX" on http://www.oracle.com/technology/documentation/index.html.

Copyright © 2005 BEA Systems, Inc. All Rights Reserved.

Method Summary
 int getAverageReserved()
          The average number of JMS sessions that have been in use in this instance of the session pool since it was instantiated.
 int getCreationDelayTime()
          The average amount of time that it takes to create each JMS session in the session pool.
 int getCurrCapacity()
          The current capacity of the session pool, which is always less than or equal to the maximum capacity of JMS sessions.
 int getHighestNumAvailable()
          The highest number of available JMS sessions in this instance of the session pool since it was instantiated.
 int getHighestNumReserved()
          The highest number of concurrent JMS sessions reserved for this instance of the session pool since it was instantiated.
 int getHighestNumUnavailable()
          The highest number of unusable JMS sessions in this instance of the session pool since it was instantiated.
 int getHighestNumWaiters()
          The highest number of threads waiting to retrieve a JMS session in this instance of the session pool since it was instantiated.
 int getHighestWaitSeconds()
          The highest number of seconds that an application waited to retrieve a JMS session in this instance of the session pool since it was instantiated.
 int getMaxCapacity()
          The maximum number of JMS sessions that can be allocated using the session pool.
 int getNumAvailable()
          The number of available JMS sessions in the session pool that are not currently in use.
 int getNumConnectionObjects()
          The number of JMS connections that back this session pool.
 int getNumFailuresToRefresh()
          The number of failed attempts to create a JMS session in the session pool.
 int getNumLeaked()
          The number of JMS sessions that were removed from the session pool, but were not returned.
 int getNumReserved()
          The number of JMS sessions that are currently in use.
 int getNumUnavailable()
          The number of JMS sessions in the session pool that are not currently usable for some reason.
 int getNumWaiters()
          The number of threads waiting to retrieve a JMS session from the session pool.
 int getTotalNumAllocated()
          The total number of JMS sessions allocated by this session pool in this instance of the session pool since it was instantiated.
 int getTotalNumDestroyed()
          The total number of JMS sessions that were created and then destroyed in this instance of the session pool since it was instantiated.
 
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

getAverageReserved

public int getAverageReserved()

The average number of JMS sessions that have been in use in this instance of the session pool since it was instantiated. This generally happens when an EJB or servlet is deployed that requires the session pool.

Returns:
The averageReserved value

getCreationDelayTime

public int getCreationDelayTime()

The average amount of time that it takes to create each JMS session in the session pool.

Returns:
The creationDelayTime value

getCurrCapacity

public int getCurrCapacity()

The current capacity of the session pool, which is always less than or equal to the maximum capacity of JMS sessions.

Returns:
The currCapacity value

getHighestNumAvailable

public int getHighestNumAvailable()

The highest number of available JMS sessions in this instance of the session pool since it was instantiated.

Returns:
The highestNumAvailable value

getHighestNumReserved

public int getHighestNumReserved()

The highest number of concurrent JMS sessions reserved for this instance of the session pool since it was instantiated.

Returns:
The highestNumReserved value

getHighestNumUnavailable

public int getHighestNumUnavailable()

The highest number of unusable JMS sessions in this instance of the session pool since it was instantiated.

Returns:
The highestNumUnavailable value

getHighestNumWaiters

public int getHighestNumWaiters()

The highest number of threads waiting to retrieve a JMS session in this instance of the session pool since it was instantiated.

Returns:
The highestNumWaiters value

getHighestWaitSeconds

public int getHighestWaitSeconds()

The highest number of seconds that an application waited to retrieve a JMS session in this instance of the session pool since it was instantiated.

Returns:
The highestWaitSeconds value

getMaxCapacity

public int getMaxCapacity()

The maximum number of JMS sessions that can be allocated using the session pool.

Returns:
The maxCapacity value

getNumAvailable

public int getNumAvailable()

The number of available JMS sessions in the session pool that are not currently in use.

Returns:
The numAvailable value

getNumConnectionObjects

public int getNumConnectionObjects()

The number of JMS connections that back this session pool. This value may be greater than one if different sessions were created using different combinations of a username and password to contact the JMS server.

Returns:
The numConnectionObjects value

getNumFailuresToRefresh

public int getNumFailuresToRefresh()

The number of failed attempts to create a JMS session in the session pool.

Returns:
The numFailuresToRefresh value

getNumLeaked

public int getNumLeaked()

The number of JMS sessions that were removed from the session pool, but were not returned.

Returns:
The numLeaked value

getNumReserved

public int getNumReserved()

The number of JMS sessions that are currently in use.

Returns:
The numReserved value

getNumUnavailable

public int getNumUnavailable()

The number of JMS sessions in the session pool that are not currently usable for some reason.

Returns:
The numUnavailable value

getNumWaiters

public int getNumWaiters()

The number of threads waiting to retrieve a JMS session from the session pool.

Returns:
The numWaiters value

getTotalNumAllocated

public int getTotalNumAllocated()

The total number of JMS sessions allocated by this session pool in this instance of the session pool since it was instantiated.

Returns:
The totalNumAllocated value

getTotalNumDestroyed

public int getTotalNumDestroyed()

The total number of JMS sessions that were created and then destroyed in this instance of the session pool since it was instantiated.

Returns:
The totalNumDestroyed value

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs90
Copyright 2005 BEA Systems Inc.