|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.ejb3.metrics.deployer.BasicStatelessSessionInstanceMetrics
public class BasicStatelessSessionInstanceMetrics
BasicStatelessSessionInstanceMetrics Threadsafe implementation of a SLSB instance metrics collector. Additionally exposed as a management object.
| Constructor Summary | |
|---|---|
BasicStatelessSessionInstanceMetrics(org.jboss.ejb3.stateless.StatelessContainer slsb)
Constructor |
|
| Method Summary | |
|---|---|
int |
getAvailableCount()
Obtains the number of instances currently available for service for this EJB |
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 |
getRemoveCount()
Obtains the number of instances removed for this EJB |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BasicStatelessSessionInstanceMetrics(org.jboss.ejb3.stateless.StatelessContainer slsb)
throws java.lang.IllegalArgumentException
slsb - The underlying container
java.lang.IllegalArgumentException - If the underlying container is not supplied| Method Detail |
|---|
public int getAvailableCount()
SessionInstanceMetrics
getAvailableCount in interface SessionInstanceMetricspublic int getCreateCount()
SessionInstanceMetrics
getCreateCount in interface SessionInstanceMetricspublic int getCurrentSize()
SessionInstanceMetrics
getCurrentSize in interface SessionInstanceMetricspublic int getMaxSize()
SessionInstanceMetrics
getMaxSize in interface SessionInstanceMetricspublic int getRemoveCount()
SessionInstanceMetrics
getRemoveCount in interface SessionInstanceMetrics
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||