Skip navigation links

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

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


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.


Method Summary
abstract  long getAccessTotalCount()
          Provides a count of the total number of times an attempt was made to get an instance from the free pool.
abstract  int getBeansInUseCount()
          Deprecated. 28-Aug-2002. Use getBeansInUseCurrentCount() instead.
abstract  int getBeansInUseCurrentCount()
          Provides a count of the number of bean instances currently being used from the free pool.
abstract  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.
abstract  int getIdleBeansCount()
          Deprecated. 28-Aug-2002. Use getPooledBeansCurrentCount() instead.
abstract  long getMissTotalCount()
          Provides a count of the total number of times a failed attempt was made to get an instance from the free pool.
abstract  int getPooledBeansCurrentCount()
          Provides a count of the current number of available bean instances in the free pool.
abstract  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.
abstract  int getWaiterCurrentCount()
          Provides a count of the number of Threads currently waiting for an available bean instance from the free pool.
abstract  long getWaiterTotalCount()
          Deprecated. 28-Aug-2002. Use getWaiterCurrentCount() instead.
abstract  void initializePool()
          Instructs the Pool to initialize itself to its configured startup time size.

 

Methods inherited from interface weblogic.management.runtime.RuntimeMBean
addPropertyChangeListener, removePropertyChangeListener

 

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

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.


Skip navigation links

Copyright 1996, 2015, 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.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09