Examples of EJBCacheStats


Examples of com.sun.appserv.management.monitor.statistics.EJBCacheStats

        final Iterator  iter  = beanCacheMonitors.iterator();
       
        while ( iter.hasNext() )
        {
          final BeanCacheMonitor  m  = (BeanCacheMonitor)iter.next();
          final EJBCacheStats    s  = m.getEJBCacheStats();
         
          // verify that we can get each Statistic; there was a problem at one time
          final BoundedRangeStatistic b1  = s.getCacheMisses();
          final BoundedRangeStatistic b2  = s.getCacheHits();
          final BoundedRangeStatistic b3  = s.getBeansInCache();
         
          // these were failing
          final CountStatistic c4 = s.getPassivationSuccesses();
          final CountStatistic c3  = s.getExpiredSessionsRemoved();
          final CountStatistic c2  = s.getPassivationErrors();
          final CountStatistic c1  = s.getPassivations();

        }
      }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.