|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.ejb3.metrics.deployer.BasicStatefulSessionInstanceMetrics
public class BasicStatefulSessionInstanceMetrics
BasicStatefulSessionInstanceMetrics Implementation of a SFSB instance metrics collector. Additionally exposed as a management object.
| Constructor Summary | |
|---|---|
BasicStatefulSessionInstanceMetrics(org.jboss.ejb3.stateful.StatefulContainer sfsb)
Constructor |
|
| Method Summary | |
|---|---|
int |
getAvailableCount()
Obtains the number of instances currently available for service for this EJB |
int |
getCacheSize()
Obtains the current number of instances in the cache |
int |
getCreateCount()
Obtains the number of instances created for this EJB |
int |
getCurrentSize()
Obtains the current size of the underlying pool/cache of bean instances |
int |
getMaxSize()
Obtains the size of the underlying instance pool/cache at it highest |
int |
getPassivatedCount()
Returns the number of instanes passivated |
int |
getRemoveCount()
Obtains the number of instances removed for this EJB |
int |
getTotalSize()
Returns the total size of the cache |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BasicStatefulSessionInstanceMetrics(org.jboss.ejb3.stateful.StatefulContainer sfsb)
throws java.lang.IllegalArgumentException
slsb - The underlying container
java.lang.IllegalArgumentException - If the underlying container is not supplied| Method Detail |
|---|
public int getCacheSize()
StatefulSessionInstanceMetrics
getCacheSize in interface StatefulSessionInstanceMetricspublic int getTotalSize()
StatefulSessionInstanceMetrics
getTotalSize in interface StatefulSessionInstanceMetricspublic int getPassivatedCount()
StatefulSessionInstanceMetrics
getPassivatedCount in interface StatefulSessionInstanceMetricspublic int getCreateCount()
SessionInstanceMetrics
getCreateCount in interface SessionInstanceMetricspublic int getRemoveCount()
SessionInstanceMetrics
getRemoveCount in interface SessionInstanceMetricspublic int getAvailableCount()
SessionInstanceMetrics
getAvailableCount in interface SessionInstanceMetricspublic int getMaxSize()
SessionInstanceMetrics
getMaxSize in interface SessionInstanceMetricspublic int getCurrentSize()
SessionInstanceMetrics
getCurrentSize in interface SessionInstanceMetrics
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||