当前页面: 
在线文档首页 > 
JBoss 3.2.7 server  API Documentation 英文版文档
EntityLockMonitor (JBoss Server API) - JBoss 3.2.7 server  API Documentation 英文版文档
org.jboss.monitor
Class EntityLockMonitor
java.lang.Object
   org.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.mx.util.JBossNotificationBroadcasterSupport
       org.jboss.system.ServiceMBeanSupport
org.jboss.system.ServiceMBeanSupport
           org.jboss.monitor.EntityLockMonitor
org.jboss.monitor.EntityLockMonitor
- All Implemented Interfaces: 
- EntityLockMonitorMBean, javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, org.jboss.system.Service, org.jboss.system.ServiceMBean
- public class EntityLockMonitor- extends org.jboss.system.ServiceMBeanSupport- implements EntityLockMonitorMBean, javax.management.MBeanRegistration
- Version:
- $Revision: 1.1.4.3 $
- Author:
- Bill Burke
- See Also:
- Monitorable
 
| Fields inherited from class org.jboss.system.ServiceMBeanSupport | 
| server, SERVICE_CONTROLLER_SIG, serviceName | 
 
| Fields inherited from interface org.jboss.system.ServiceMBean | 
| CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED | 
 
 
 
| Methods inherited from class org.jboss.system.ServiceMBeanSupport | 
| create, createService, destroy, destroyService, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, start, stop | 
 
| Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport | 
| addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
| Methods inherited from interface org.jboss.system.ServiceMBean | 
| getName, getState, getStateString, jbossInternalLifecycle | 
 
| Methods inherited from interface org.jboss.system.Service | 
| create, destroy, start, stop | 
 
JNDI_NAME
public static final String JNDI_NAME
- See Also:
- Constant Field Values
monitor
protected HashMap monitor
contenders
protected long contenders
maxContenders
protected long maxContenders
times
protected ArrayList times
contentions
protected long contentions
total_time
protected long total_time
sumContenders
protected long sumContenders
EntityLockMonitor
public EntityLockMonitor()
preRegister
public javax.management.ObjectName preRegister(javax.management.MBeanServer server,
                                               javax.management.ObjectName name)
                                        throws Exception
- 
- Specified by:
- preRegisterin interface- javax.management.MBeanRegistration
 
- 
- Throws:
- Exception
 
postRegister
public void postRegister(Boolean registrationDone)
- 
- Specified by:
- postRegisterin interface- javax.management.MBeanRegistration
 
- 
 
preDeregister
public void preDeregister()
                   throws Exception
- 
- Specified by:
- preDeregisterin interface- javax.management.MBeanRegistration
 
- 
- Throws:
- Exception
 
postDeregister
public void postDeregister()
- 
- Specified by:
- postDeregisterin interface- javax.management.MBeanRegistration
 
- 
 
incrementContenders
public void incrementContenders()
- 
 
- 
 
decrementContenders
public void decrementContenders(long time)
- 
 
- 
 
getAverageContenders
public long getAverageContenders()
- 
- Specified by:
- getAverageContendersin interface- EntityLockMonitorMBean
 
- 
 
getMaxContenders
public long getMaxContenders()
- 
- Specified by:
- getMaxContendersin interface- EntityLockMonitorMBean
 
- 
 
getMedianWaitTime
public long getMedianWaitTime()
- 
- Specified by:
- getMedianWaitTimein interface- EntityLockMonitorMBean
 
- 
 
getTotalContentions
public long getTotalContentions()
- 
- Specified by:
- getTotalContentionsin interface- EntityLockMonitorMBean
 
- 
 
getEntityLockMonitor
public LockMonitor getEntityLockMonitor(String ejbName)
- 
 
- 
 
printLockMonitor
public String printLockMonitor()
- 
- Specified by:
- printLockMonitorin interface- EntityLockMonitorMBean
 
- 
 
clearMonitor
public void clearMonitor()
- 
- Specified by:
- clearMonitorin interface- EntityLockMonitorMBean
 
- 
 
startService
protected void startService()
                     throws Exception
- 
 
- 
- Throws:
- Exception
 
stopService
protected void stopService()
- 
 
- 
 
      
      
        Copyright © 2002 JBoss Group, LLC. All Rights Reserved.