Package 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("Bean Pool Statistics") public class EjbPoolStatsProvider extends Object
Probe listener for the Ejb Pool monitoring events.- Author:
- Marina Vatkina
-
-
Constructor Summary
Constructors Constructor Description EjbPoolStatsProvider(AbstractPool delegate, long beanId, String appName, String moduleName, String beanName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
ejbObjectAddedEvent(long beanId, String appName, String modName, String ejbName)
void
ejbObjectAddFailedEvent(long beanId, String appName, String modName, String ejbName)
void
ejbObjectDestroyedEvent(long beanId, String appName, String modName, String ejbName)
org.glassfish.external.statistics.CountStatistic
getJmsMaxMessagesLoad()
org.glassfish.external.statistics.RangeStatistic
getNumBeansInPool()
org.glassfish.external.statistics.RangeStatistic
getNumThreadsWaiting()
org.glassfish.external.statistics.CountStatistic
getTotalBeansCreated()
org.glassfish.external.statistics.CountStatistic
getTotalBeansDestroyed()
void
register()
void
unregister()
-
-
-
Constructor Detail
-
EjbPoolStatsProvider
public EjbPoolStatsProvider(AbstractPool delegate, long beanId, String appName, String moduleName, String beanName)
-
-
Method Detail
-
register
public void register()
-
unregister
public void unregister()
-
getNumBeansInPool
@ManagedAttribute(id="numbeansinpool") @Description("Number of EJBs in associated pool") public org.glassfish.external.statistics.RangeStatistic getNumBeansInPool()
-
getNumThreadsWaiting
@ManagedAttribute(id="numthreadswaiting") @Description("Number of threads waiting for free beans") public org.glassfish.external.statistics.RangeStatistic getNumThreadsWaiting()
-
getTotalBeansCreated
@ManagedAttribute(id="totalbeanscreated") @Description("Number of Beans created in associated pool") public org.glassfish.external.statistics.CountStatistic getTotalBeansCreated()
-
getTotalBeansDestroyed
@ManagedAttribute(id="totalbeansdestroyed") @Description("Number of Beans destroyed in associated pool") public org.glassfish.external.statistics.CountStatistic getTotalBeansDestroyed()
-
getJmsMaxMessagesLoad
@ManagedAttribute(id="jmsmaxmessagesload") @Description("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)
-
-