|
Java EE 5 SDK | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface EJBCacheStats
A Stats interface to represent the statistics exposed by the Enterprise Bean Cache. This is based on the statistics that were exposed in S1AS7.0. An implementation of EJB Cache should provide statistical data by implementing this interface.
| Method Summary | |
|---|---|
BoundedRangeStatistic |
getBeansInCache()
Returns total number of EJBs in the associated EJB Cache, as a BoundedRangeStatistic. |
BoundedRangeStatistic |
getCacheHits()
Returns the number of times a user request hits an EJB in associated EJB cache instance, as a CountStatistic. |
BoundedRangeStatistic |
getCacheMisses()
Returns the number of times a user request fails to find an EJB in associated EJB cache instance, as a CountStatistic. |
CountStatistic |
getExpiredSessionsRemoved()
Returns the number of removed Expired Sessions as a CountStatistic. |
CountStatistic |
getPassivationErrors()
Returns the number of errors in passivating a Stateful Session Bean, as a CountStatistic. |
CountStatistic |
getPassivations()
Returns the number of passivations of a Stateful Session Bean, as a CountStatistic. |
CountStatistic |
getPassivationSuccesses()
Returns the number of errors in passivating a Stateful Session Bean, as a CountStatistic. |
| Methods inherited from interface javax.management.j2ee.statistics.Stats |
|---|
getStatistic, getStatisticNames, getStatistics |
| Method Detail |
|---|
BoundedRangeStatistic getCacheMisses()
BoundedRangeStatisticBoundedRangeStatistic getCacheHits()
BoundedRangeStatisticBoundedRangeStatistic getBeansInCache()
BoundedRangeStatisticCountStatistic getPassivations()
CountStatisticCountStatistic getPassivationErrors()
getPassivations()
CountStatisticCountStatistic getExpiredSessionsRemoved()
CountStatisticCountStatistic getPassivationSuccesses()
getPassivations()
CountStatistic
|
Java EE 5 SDK | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 2006 Sun Microsystems, Inc. All rights reserved.