Class EjbCacheStatsProvider

java.lang.Object
com.sun.ejb.monitoring.stats.EjbCacheStatsProvider

@AMXMetadata(type="bean-cache-mon", group="monitoring", isSingleton=false) @ManagedObject @Description("Bean Cache Statistics") public class EjbCacheStatsProvider extends Object
Probe listener for the Ejb Cache monitoring events.
Author:
Marina Vatkina
  • Constructor Details

  • Method Details

    • register

      public void register()
    • unregister

      public void unregister()
    • getCacheMisses

      @ManagedAttribute(id="cachemisses") @Description("Number of times a user request fails to find an EJB in associated EJB cache instance") public org.glassfish.external.statistics.RangeStatistic getCacheMisses()
    • getCacheHits

      @ManagedAttribute(id="cachehits") @Description("Number of times a user request hits an EJB in associated EJB cache instance") public org.glassfish.external.statistics.RangeStatistic getCacheHits()
    • getNumBeansInCache

      @ManagedAttribute(id="numbeansincache") @Description("Number of EJBs in the associated EJB Cache") public org.glassfish.external.statistics.RangeStatistic getNumBeansInCache()
    • getNumExpiredSessionsRemoved

      @ManagedAttribute(id="numexpiredsessionsremoved") @Description("Number of expired sessions removed by the cleanup thread.") public org.glassfish.external.statistics.CountStatistic getNumExpiredSessionsRemoved()
    • getNumPassivations

      @ManagedAttribute(id="numpassivations") @Description("Number of passivated beans") public org.glassfish.external.statistics.CountStatistic getNumPassivations()
    • getNumPassivationErrors

      @ManagedAttribute(id="numpassivationerrors") @Description("Number of errors during passivation.") public org.glassfish.external.statistics.CountStatistic getNumPassivationErrors()
    • getNumPassivationSuccess

      @ManagedAttribute(id="numpassivationsuccess") @Description("Number of times passivation completed successfully.") public org.glassfish.external.statistics.CountStatistic getNumPassivationSuccess()
    • ejbBeanPassivatedEvent

      public void ejbBeanPassivatedEvent(long beanId, String appName, String modName, String ejbName, boolean success)
    • ejbExpiredSessionsRemovedEvent

      public void ejbExpiredSessionsRemovedEvent(long beanId, String appName, String modName, String ejbName, long num)