Oracle Fusion Middleware
Oracle WebLogic Server MBean Javadoc
11g Release 1 (10.3.5)

Part Number E13945-05

weblogic.management.runtime
Interface EJBPoolRuntimeMBean


public interface EJBPoolRuntimeMBean

This interface contains accessor methods for all free pool runtime information collected for an EJB.

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/products/weblogic/index.html.

Access limited to the following security roles:
Operator

Method Summary
 long getAccessTotalCount()
          Provides a count of the total number of times an attempt was made to get an instance from the free pool.
 int getBeansInUseCount()
          Deprecated. 28-Aug-2002. Use getBeansInUseCurrentCount() instead.
 int getBeansInUseCurrentCount()
          Provides a count of the number of bean instances currently being used from the free pool.
 long getDestroyedTotalCount()
          Provides a count of the total number of times a bean instance from this pool was destroyed due to a non-application Exception being thrown from it.
 int getIdleBeansCount()
          Deprecated. 28-Aug-2002. Use getPooledBeansCurrentCount() instead.
 long getMissTotalCount()
          Provides a count of the total number of times a failed attempt was made to get an instance from the free pool.
 int getPooledBeansCurrentCount()
          Provides a count of the current number of available bean instances in the free pool.
 long getTimeoutTotalCount()
          Provides a count of the total number of Threads that have timed out waiting for an available bean instance from the free pool.
 int getWaiterCurrentCount()
          Provides a count of the number of Threads currently waiting for an available bean instance from the free pool.
 long getWaiterTotalCount()
          Deprecated. 28-Aug-2002. Use getWaiterCurrentCount() instead.
 void initializePool()
          Instructs the Pool to initialize itself to its configured startup time size.
 

Method Detail

getAccessTotalCount

long getAccessTotalCount()

Provides a count of the total number of times an attempt was made to get an instance from the free pool.

Returns:
The accessTotalCount value

getMissTotalCount

long getMissTotalCount()

Provides a count of the total number of times a failed attempt was made to get an instance from the free pool. An Attempt to get a bean from the pool will fail if there are no available instances in the pool.

Returns:
The missTotalCount value

getDestroyedTotalCount

long getDestroyedTotalCount()

Provides a count of the total number of times a bean instance from this pool was destroyed due to a non-application Exception being thrown from it.

Returns:
The destroyedTotalCount value

getIdleBeansCount

int getIdleBeansCount()
Deprecated. 28-Aug-2002. Use getPooledBeansCurrentCount() instead.

Provides a count of the total number of available bean instances in the free pool.

Returns the total number of available bean instances in the free pool.

Returns:
The idleBeansCount value

getPooledBeansCurrentCount

int getPooledBeansCurrentCount()

Provides a count of the current number of available bean instances in the free pool.

Returns:
The pooledBeansCurrentCount value

getBeansInUseCount

int getBeansInUseCount()
Deprecated. 28-Aug-2002. Use getBeansInUseCurrentCount() instead.

Provides a count of the total number of bean instances currently in use from the free pool.

Returns:
The beansInUseCount value

getBeansInUseCurrentCount

int getBeansInUseCurrentCount()

Provides a count of the number of bean instances currently being used from the free pool.

Returns:
The beansInUseCurrentCount value

getWaiterTotalCount

long getWaiterTotalCount()
Deprecated. 28-Aug-2002. Use getWaiterCurrentCount() instead.

Provides a count of the total number of Threads currently waiting for an available bean instance from the free pool.

Returns:
The waiterTotalCount value

getWaiterCurrentCount

int getWaiterCurrentCount()

Provides a count of the number of Threads currently waiting for an available bean instance from the free pool.

Returns:
The waiterCurrentCount value

getTimeoutTotalCount

long getTimeoutTotalCount()

Provides a count of the total number of Threads that have timed out waiting for an available bean instance from the free pool.

Returns:
The timeoutTotalCount value

initializePool

void initializePool()

Instructs the Pool to initialize itself to its configured startup time size.

This is a synchronous and will wait until the pool is initialized before returning.


Copyright 1996, 2011, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Oracle WebLogic Server MBean Javadoc
11g Release 1 (10.3.5)

Part Number E13945-05