Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.3)

Part Number E41849-02

weblogic.management.runtime
Interface EJBPoolRuntimeMBean

All Superinterfaces:
DynamicMBean, MBeanRegistration, NotificationBroadcaster, RuntimeMBean, WebLogicMBean

public interface EJBPoolRuntimeMBean
extends RuntimeMBean

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

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.
 
Methods inherited from interface weblogic.management.WebLogicMBean
getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, 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

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, 2014, 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
Java API Reference for Oracle WebLogic Server
12c (12.1.3)

Part Number E41849-02