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 Details

  • Method Details

    • 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)
    • ejbObjectDestroyedEvent

      public void ejbObjectDestroyedEvent(long beanId, String appName, String modName, String ejbName)