|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.jboss.ejb3.metrics.deployer.BasicStatelessSessionMetrics
public class BasicStatelessSessionMetrics
BasicStatelessSessionMetrics Implementation of a SLSB metrics collector. Additionally exposed as a management object.
| Constructor Summary | |
|---|---|
BasicStatelessSessionMetrics(org.jboss.ejb3.statistics.InvocationStatistics delegate,
org.jboss.ejb3.stateless.StatelessContainer slsb)
Constructor |
|
| Method Summary | |
|---|---|
int |
getAvailableCount()
The number of instances available for service |
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 |
getRemoveCount()
The number of instances removed |
void |
resetInvocationStats()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BasicStatelessSessionMetrics(org.jboss.ejb3.statistics.InvocationStatistics delegate,
org.jboss.ejb3.stateless.StatelessContainer slsb)
throws java.lang.IllegalArgumentException
delegate - Invocation stats delegateslsb - The underlying container
java.lang.IllegalArgumentException - If either argument is not supplied| Method Detail |
|---|
public int getAvailableCount()
public int getCreateCount()
public int getCurrentSize()
public int getMaxSize()
public int getRemoveCount()
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 | |||||||