FileDocCategorySizeDatePackage
PwcWebModuleStats.javaAPI DocGlassfish v2 API6071Fri May 04 22:34:10 BST 2007com.sun.enterprise.web.monitor

PwcWebModuleStats

public interface PwcWebModuleStats implements Serializable
Monitoring interface for web modules.

Fields Summary
Constructors Summary
Methods Summary
public intgetActiveSessionsCurrent()
Gets the number of currently active sessions for the web module. .

return
Number of currently active sessions

public intgetActiveSessionsHigh()
Gets the maximum number of concurrently active sessions for the web module.

return
Maximum number of concurrently active sessions

public intgetExpiredSessionsTotal()
Gets the total number of expired sessions for the web module. .

return
Total number of expired sessions

public intgetJspCount()
Gets the number of JSPs that have been loaded in the web module. .

return
Number of JSPs that have been loaded

public intgetJspErrorCount()
Gets the number of errors that were triggered by JSP invocations. .

return
Number of errors triggered by JSP invocations

public intgetJspReloadCount()
Gets the number of JSPs that have been reloaded in the web module. .

return
Number of JSPs that have been reloaded

public intgetRejectedSessionsTotal()
Gets the total number of rejected sessions for the web module.

This is the number of sessions that were not created because the maximum allowed number of sessions were active. .

return
Total number of rejected sessions

public longgetServletProcessingTimesMillis()
Gets the cumulative processing times of all servlets in the web module associated with this PwcWebModuleStats.

return
Cumulative processing times of all servlets in the web module associated with this PwcWebModuleStats

public java.util.HashMapgetSession(java.lang.String id)
Returns information about the session with the given id.

The session information is organized as a HashMap, mapping session attribute names to the String representation of their values.

param
id Session id
return
HashMap mapping session attribute names to the String representation of their values, or null if no session with the specified id exists, or if the session does not have any attributes

public intgetSessionAverageAliveTimeSeconds()
Gets the average time (in seconds) that expired sessions had been alive.

return
Average time (in seconds) that expired sessions had been alive.

public java.lang.StringgetSessionIds()
Returns the session ids of all sessions currently active in the web module associated with this PwcWebModuleStats.

return
Session ids of all sessions currently active in the web module associated with this PwcWebModuleStats

public intgetSessionMaxAliveTimeSeconds()
Gets the longest time (in seconds) that an expired session had been alive.

return
Longest time (in seconds) that an expired session had been alive.

public intgetSessionsTotal()
Gets the total number of sessions that have been created for the web module. .

return
Total number of sessions created

public longgetStartTimeMillis()
Gets the time when the web module was started.

return
Time (in milliseconds since January 1, 1970, 00:00:00) when the web module was started

public voidreset()
Resets this WebModuleStats.