Fields Summary |
---|
private com.sun.ejb.spi.stats.EJBCacheStatsProvider | delegate |
private com.sun.enterprise.admin.monitor.stats.MutableBoundedRangeStatisticImpl | cacheHits |
private com.sun.enterprise.admin.monitor.stats.MutableBoundedRangeStatisticImpl | cacheMisses |
private com.sun.enterprise.admin.monitor.stats.MutableBoundedRangeStatisticImpl | numBeans |
private com.sun.enterprise.admin.monitor.stats.MutableCountStatisticImpl | expiredStat |
private com.sun.enterprise.admin.monitor.stats.MutableCountStatisticImpl | passivationErrors |
private com.sun.enterprise.admin.monitor.stats.MutableCountStatisticImpl | passivations |
private com.sun.enterprise.admin.monitor.stats.MutableCountStatisticImpl | passivationSuccess |
Methods Summary |
---|
public javax.management.j2ee.statistics.BoundedRangeStatistic | getCacheHits()
cacheHits.setCount(delegate.getCacheHits());
return (BoundedRangeStatistic) cacheHits.modifiableView();
|
public javax.management.j2ee.statistics.BoundedRangeStatistic | getCacheMisses()
cacheMisses.setCount(delegate.getCacheMisses());
return (BoundedRangeStatistic) cacheMisses.modifiableView();
|
public javax.management.j2ee.statistics.BoundedRangeStatistic | getNumBeansInCache()
numBeans.setCount(delegate.getNumBeansInCache());
return (BoundedRangeStatistic) numBeans.modifiableView();
|
public javax.management.j2ee.statistics.CountStatistic | getNumExpiredSessionsRemoved()
expiredStat.setCount(delegate.getNumExpiredSessionsRemoved());
return (CountStatistic) expiredStat.modifiableView();
|
public javax.management.j2ee.statistics.CountStatistic | getNumPassivationErrors()
passivationErrors.setCount(delegate.getNumPassivationErrors());
return (CountStatistic) passivationErrors.modifiableView();
|
public javax.management.j2ee.statistics.CountStatistic | getNumPassivationSuccess()
passivationSuccess.setCount(delegate.getNumPassivationSuccess());
return (CountStatistic) passivationSuccess.modifiableView();
|
public javax.management.j2ee.statistics.CountStatistic | getNumPassivations()
passivations.setCount(delegate.getNumPassivations());
return (CountStatistic) passivations.modifiableView();
|
protected void | initialize()
super.initialize("com.sun.enterprise.admin.monitor.stats.EJBCacheStats");
cacheHits = new MutableBoundedRangeStatisticImpl(
new BoundedRangeStatisticImpl("CacheHits"));
cacheMisses = new MutableBoundedRangeStatisticImpl(
new BoundedRangeStatisticImpl("CacheMisses"));
numBeans = new MutableBoundedRangeStatisticImpl(
new BoundedRangeStatisticImpl("NumBeansInCache",
"Count", 0, delegate.getMaxCacheSize(), 0));
expiredStat = new MutableCountStatisticImpl(
new CountStatisticImpl("NumExpiredSessionsRemoved"));
passivationErrors = new MutableCountStatisticImpl(
new CountStatisticImpl("NumPassivationErrors"));
passivations = new MutableCountStatisticImpl(
new CountStatisticImpl("NumPassivations"));
passivationSuccess = new MutableCountStatisticImpl(
new CountStatisticImpl("NumPassivationSuccess"));
|