FileDocCategorySizeDatePackage
EJBCacheStats.javaAPI DocGlassfish v2 API4636Fri May 04 22:25:48 BST 2007com.sun.enterprise.admin.monitor.stats

EJBCacheStats

public interface EJBCacheStats implements javax.management.j2ee.statistics.Stats
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.
author
Muralidhar Vempaty
author
Kedar Mhaswade
since
S1AS8.0
version
1.0

Fields Summary
Constructors Summary
Methods Summary
public javax.management.j2ee.statistics.BoundedRangeStatisticgetCacheHits()
Returns the number of times a user request hits an EJB in associated EJB cache instance, as a CountStatistic.

return
an instance of {@link BoundedRangeStatistic}

public javax.management.j2ee.statistics.BoundedRangeStatisticgetCacheMisses()
Returns the number of times a user request fails to find an EJB in associated EJB cache instance, as a CountStatistic.

return
an instance of {@link BoundedRangeStatistic}

public javax.management.j2ee.statistics.BoundedRangeStatisticgetNumBeansInCache()
Returns total number of EJBs in the associated EJB Cache, as a BoundedRangeStatistic. Note that this returns the various statistical values like maximum and minimum value attained as a part of the return value.

return
an instance of {@link BoundedRangeStatistic}

public javax.management.j2ee.statistics.CountStatisticgetNumExpiredSessionsRemoved()
Returns the number of removed Expired Sessions as a CountStatistic.

return
an instance of {@link CountStatistic}

public javax.management.j2ee.statistics.CountStatisticgetNumPassivationErrors()
Returns the number of errors in passivating a Stateful Session Bean, as a CountStatistic. Must be less than or equal to {@link #getNumPassivations}

return
an instance of {@link CountStatistic}

public javax.management.j2ee.statistics.CountStatisticgetNumPassivationSuccess()
Returns the number of errors in passivating a Stateful Session Bean, as a CountStatistic. Must be less than or equal to {@link #getNumPassivations}

return
an instance of {@link CountStatistic}

public javax.management.j2ee.statistics.CountStatisticgetNumPassivations()
Returns the number of passivations of a Stateful Session Bean, as a CountStatistic.

return
an instance of {@link CountStatistic}