FileDocCategorySizeDatePackage
PWCKeepAliveStats.javaAPI DocGlassfish v2 API3942Fri May 04 22:25:48 BST 2007com.sun.enterprise.admin.monitor.stats

PWCKeepAliveStats

public interface PWCKeepAliveStats implements javax.management.j2ee.statistics.Stats
Provides statistical information about the HttpService HTTP-level keep-alive system

Fields Summary
Constructors Summary
Methods Summary
public javax.management.j2ee.statistics.CountStatisticgetCountConnections()
Number of connections in keep-alive mode

return
number of connections

public javax.management.j2ee.statistics.CountStatisticgetCountFlushes()
The number of times the server had to close a connection because the KeepAliveCount exceeded the MaxKeepAliveConnections

return
connections

public javax.management.j2ee.statistics.CountStatisticgetCountHits()
The number of times a request was successfully received from a connection that had been kept alive

return
hits

public javax.management.j2ee.statistics.CountStatisticgetCountRefusals()
The number of times the server could not hand off the connection to a keep-alive thread, possibly due to too many persistent connections

return
refusals

public javax.management.j2ee.statistics.CountStatisticgetCountTimeouts()
The number of times the server terminated keep-alive connections as the client connections timed out, without any activity

return
connections timed out

public javax.management.j2ee.statistics.CountStatisticgetMaxConnections()
Maximum number of connections allowed in keep-alive mode simultaneously

return
Max number of connections allowed

public javax.management.j2ee.statistics.CountStatisticgetSecondsTimeouts()
The time (in seconds) before idle keep-alive connections are closed

return
time in seconds