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

Part Number E27170-01

weblogic.management.runtime
Interface EJBLockingRuntimeMBean

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

public interface EJBLockingRuntimeMBean
extends RuntimeMBean

This interface contains accessor methods for all lock manager runtime information collected for an EJB.


Method Summary
 int getLockEntriesCurrentCount()
          Provides a count of the number of beans currently locked.
 long getLockManagerAccessCount()
          Provides the total number of attempts to obtain a lock on a bean.
 long getTimeoutTotalCount()
          Provides the current number of Threads that have timed out waiting for a lock on a bean.
 int getWaiterCurrentCount()
          Provides the current number of Threads that have waited for a lock on a bean.
 long getWaiterTotalCount()
          Provides the total number of Threads that have waited for a lock on a bean.
 
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

getLockEntriesCurrentCount

int getLockEntriesCurrentCount()

Provides a count of the number of beans currently locked.

Returns:
The lockEntriesCurrentCount value

getLockManagerAccessCount

long getLockManagerAccessCount()

Provides the total number of attempts to obtain a lock on a bean. This includes attempts to obtain a lock on a bean that is already locked on behalf of the client.

Returns:
The lockManagerAccessCount value

getWaiterTotalCount

long getWaiterTotalCount()

Provides the total number of Threads that have waited for a lock on a bean.

Returns the total number of Threads that have waited for a lock on a bean.

Returns:
The waiterTotalCount value

getWaiterCurrentCount

int getWaiterCurrentCount()

Provides the current number of Threads that have waited for a lock on a bean.

Returns:
The waiterCurrentCount value

getTimeoutTotalCount

long getTimeoutTotalCount()

Provides the current number of Threads that have timed out waiting for a lock on a bean.

Returns:
The timeoutTotalCount value

Copyright 1996, 2013, 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.2)

Part Number E27170-01