org.jboss.ejb3.metrics.spi
Interface StatefulSessionInstanceMetrics

All Superinterfaces:
SessionInstanceMetrics
All Known Implementing Classes:
BasicStatefulSessionInstanceMetrics

public interface StatefulSessionInstanceMetrics
extends SessionInstanceMetrics

StatefulSessionInstanceMetrics Represents backing instance metrics of EJB3 Stateful Session Beans targeting the underlying instance cache


Method Summary
 int getCacheSize()
          Obtains the current number of instances in the cache
 int getPassivatedCount()
          Returns the number of instanes passivated
 int getTotalSize()
          Returns the total size of the cache
 
Methods inherited from interface org.jboss.ejb3.metrics.spi.SessionInstanceMetrics
getAvailableCount, getCreateCount, getCurrentSize, getMaxSize, getRemoveCount
 

Method Detail

getCacheSize

int getCacheSize()
Obtains the current number of instances in the cache

Returns:

getTotalSize

int getTotalSize()
Returns the total size of the cache

Returns:

getPassivatedCount

int getPassivatedCount()
Returns the number of instanes passivated

Returns: