Methods Summary |
---|
public javax.management.j2ee.statistics.CountStatistic | getJmsMaxMessagesLoad()
jmsStat.setCount(delegate.getJmsMaxMessagesLoad());
return (CountStatistic) jmsStat.modifiableView();
|
public javax.management.j2ee.statistics.BoundedRangeStatistic | getNumBeansInPool()
beansInPoolStat.setCount(delegate.getNumBeansInPool());
return (BoundedRangeStatistic) beansInPoolStat.modifiableView();
|
public javax.management.j2ee.statistics.BoundedRangeStatistic | getNumThreadsWaiting()
threadStat.setCount(delegate.getNumThreadsWaiting());
return (BoundedRangeStatistic) threadStat.modifiableView();
|
public javax.management.j2ee.statistics.CountStatistic | getTotalBeansCreated()
createdStat.setCount(delegate.getTotalBeansCreated());
return (CountStatistic) createdStat.modifiableView();
|
public javax.management.j2ee.statistics.CountStatistic | getTotalBeansDestroyed()
destroyedStat.setCount(delegate.getTotalBeansDestroyed());
return (CountStatistic) destroyedStat.modifiableView();
|
protected void | initialize()
super.initialize("com.sun.enterprise.admin.monitor.stats.EJBPoolStats");
jmsStat = new MutableCountStatisticImpl(
new CountStatisticImpl("JmsMaxMessagesLoad"));
beansInPoolStat = new MutableBoundedRangeStatisticImpl(
new BoundedRangeStatisticImpl("NumBeansInPool",
"Count", 0, delegate.getMaxPoolSize(),
delegate.getSteadyPoolSize()));
threadStat = new MutableBoundedRangeStatisticImpl(
new BoundedRangeStatisticImpl("NumThreadsWaiting"));
createdStat = new MutableCountStatisticImpl(
new CountStatisticImpl("TotalBeansCreated"));
destroyedStat = new MutableCountStatisticImpl(
new CountStatisticImpl("TotalBeansDestroyed"));
|