|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.jboss.ejb3.metrics.deployer.BasicStatefulSessionMetrics
public class BasicStatefulSessionMetrics
BasicStatefulSessionInstanceMetrics Implementation of a SFSB instance metrics collector. Additionally exposed as a management object.
| Constructor Summary | |
|---|---|
BasicStatefulSessionMetrics(org.jboss.ejb3.statistics.InvocationStatistics invocationStats,
org.jboss.ejb3.stateful.StatefulContainer sfsb)
Constructor |
|
| Method Summary | |
|---|---|
int |
getAvailableCount()
The number of instances available for service |
int |
getCacheSize()
|
int |
getCreateCount()
The number of instances created |
int |
getCurrentSize()
The current size of the backing pool/cache |
java.util.Map |
getInvocationStats()
|
long |
getInvocationStatsLastResetTime()
Exposes the time, represented in milliseconds since the epoch, that the stats were last reset |
int |
getMaxSize()
The maximum size of the backing pool/cache |
java.lang.String |
getName()
Returns the EJB Name |
int |
getPassivatedCount()
|
int |
getRemoveCount()
The number of instances removed |
int |
getTotalSize()
|
void |
resetInvocationStats()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BasicStatefulSessionMetrics(org.jboss.ejb3.statistics.InvocationStatistics invocationStats,
org.jboss.ejb3.stateful.StatefulContainer sfsb)
throws java.lang.IllegalArgumentException
invocationStats - Invocation stats delegateslsb - The underlying container
java.lang.IllegalArgumentException - If either argument is not supplied| Method Detail |
|---|
public int getCacheSize()
public int getTotalSize()
public int getPassivatedCount()
public int getCreateCount()
public int getRemoveCount()
public int getAvailableCount()
public int getMaxSize()
public int getCurrentSize()
public java.util.Map getInvocationStats()
InvocationStatistics.getStats()public void resetInvocationStats()
InvocationStatistics.resetStats()public long getInvocationStatsLastResetTime()
public java.lang.String getName()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||