|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.geronimo.management.stats.StatsImpl
org.apache.geronimo.management.stats.WebModuleStatsImpl
public class WebModuleStatsImpl
Geronimo implementation of the JSR-77 style WebModule interface. This is not required by JSR-77, but provides useful statistics for a web app
| Constructor Summary | |
|---|---|
WebModuleStatsImpl()
|
|
| Method Summary | |
|---|---|
CountStatistic |
getActiveSessionCount()
Gets the number of currently active sessions. |
CountStatistic |
getExpiredSessionCount()
Gets the number of sessions that have expired. |
CountStatistic |
getProcessingTime()
|
CountStatistic |
getRejectedSessionCount()
Gets the number of sessions that were not created because the maximum number of active sessions was reached. |
TimeStatistic |
getSessionAliveTime()
Gets the time (in seconds) that an expired session had been alive. |
CountStatistic |
getSessionCount()
Returns the total number of sessions created by this manager |
CountStatistic |
getStartupTime()
|
CountStatistic |
getTldScanTime()
Scan the TLD contents of all tag library descriptor files (including those inside the jars that are 'accesible' to this webapp) and register any application event listeners found there. |
void |
setActiveSessionCount(int activeSessionCount)
|
void |
setExpiredSessionCount(int expiredSessionCount)
|
void |
setLastSampleTime(long time)
|
void |
setProcessingTime(long processingTime)
These setters are used by native implementation |
void |
setRejectedSessionCount(int rejectedSessionCount)
|
void |
setSessionAliveTime(int count,
long minTime,
long maxTime,
long totalTime)
|
void |
setSessionCount(int sessionCount)
|
void |
setStartupTime(long startupTime)
|
void |
setTldScanTime(long tldScanTime)
|
| Methods inherited from class org.apache.geronimo.management.stats.StatsImpl |
|---|
addStat, getStatistic, getStatisticNames, getStatistics, removeStat, setLastSampleTime, setStartTime, setStartTime |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.management.j2ee.statistics.Stats |
|---|
getStatistic, getStatisticNames, getStatistics |
| Constructor Detail |
|---|
public WebModuleStatsImpl()
| Method Detail |
|---|
public CountStatistic getProcessingTime()
getProcessingTime in interface WebModuleStatspublic CountStatistic getStartupTime()
getStartupTime in interface WebModuleStatspublic CountStatistic getTldScanTime()
WebModuleStats
getTldScanTime in interface WebModuleStatspublic TimeStatistic getSessionAliveTime()
WebModuleStats
getSessionAliveTime in interface WebModuleStatspublic CountStatistic getSessionCount()
WebModuleStats
getSessionCount in interface WebModuleStatspublic CountStatistic getActiveSessionCount()
WebModuleStats
getActiveSessionCount in interface WebModuleStatspublic CountStatistic getExpiredSessionCount()
WebModuleStats
getExpiredSessionCount in interface WebModuleStatspublic CountStatistic getRejectedSessionCount()
WebModuleStats
getRejectedSessionCount in interface WebModuleStatspublic void setProcessingTime(long processingTime)
public void setStartupTime(long startupTime)
public void setTldScanTime(long tldScanTime)
public void setSessionAliveTime(int count,
long minTime,
long maxTime,
long totalTime)
public void setSessionCount(int sessionCount)
public void setActiveSessionCount(int activeSessionCount)
public void setExpiredSessionCount(int expiredSessionCount)
public void setRejectedSessionCount(int rejectedSessionCount)
public void setLastSampleTime(long time)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||