com.sun.ejb.monitoring.stats
Class EjbPoolStatsProvider
java.lang.Object
com.sun.ejb.monitoring.stats.EjbPoolStatsProvider
@AMXMetadata(type="bean-pool-mon",
group="monitoring",
isSingleton=false)
@ManagedObject
@Description(value="Bean Pool Statistics")
public class EjbPoolStatsProvider- extends Object
Probe listener for the Ejb Pool monitoring events.
- Author:
- Marina Vatkina
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EjbPoolStatsProvider
public EjbPoolStatsProvider(AbstractPool delegate,
long beanId,
String appName,
String moduleName,
String beanName)
register
public void register()
unregister
public void unregister()
getNumBeansInPool
@ManagedAttribute(id="numbeansinpool")
@Description(value="Number of EJBs in associated pool")
public org.glassfish.external.statistics.RangeStatistic getNumBeansInPool()
getNumThreadsWaiting
@ManagedAttribute(id="numthreadswaiting")
@Description(value="Number of threads waiting for free beans")
public org.glassfish.external.statistics.RangeStatistic getNumThreadsWaiting()
getTotalBeansCreated
@ManagedAttribute(id="totalbeanscreated")
@Description(value="Number of Beans created in associated pool")
public org.glassfish.external.statistics.CountStatistic getTotalBeansCreated()
getTotalBeansDestroyed
@ManagedAttribute(id="totalbeansdestroyed")
@Description(value="Number of Beans destroyed in associated pool")
public org.glassfish.external.statistics.CountStatistic getTotalBeansDestroyed()
getJmsMaxMessagesLoad
@ManagedAttribute(id="jmsmaxmessagesload")
@Description(value="Provides the maximum number of messages to load into a JMS session, at a time")
public org.glassfish.external.statistics.CountStatistic getJmsMaxMessagesLoad()
ejbObjectAddedEvent
public void ejbObjectAddedEvent(long beanId,
String appName,
String modName,
String ejbName)
ejbObjectAddFailedEvent
public void ejbObjectAddFailedEvent(long beanId,
String appName,
String modName,
String ejbName)
ejbObjectDestroyedEvent
public void ejbObjectDestroyedEvent(long beanId,
String appName,
String modName,
String ejbName)
Copyright © 2012 GlassFish Community. All Rights Reserved.