Interface PWCKeepAliveStats
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CountStatistic
getCountConnections()
Number of connections in keep-alive modeCountStatistic
getCountFlushes()
The number of times the server had to close a connection because the KeepAliveCount exceeded the MaxKeepAliveConnectionsCountStatistic
getCountHits()
The number of times a request was successfully received from a connection that had been kept aliveCountStatistic
getCountRefusals()
The number of times the server could not hand off the connection to a keep-alive thread, possibly due to too many persistent connectionsCountStatistic
getCountTimeouts()
The number of times the server terminated keep-alive connections as the client connections timed out, without any activityCountStatistic
getMaxConnections()
Maximum number of connections allowed in keep-alive mode simultaneouslyCountStatistic
getSecondsTimeouts()
The time (in seconds) before idle keep-alive connections are closed-
Methods inherited from interface org.glassfish.j2ee.statistics.Stats
getStatistic, getStatisticNames, getStatistics
-
-
-
-
Method Detail
-
getCountConnections
CountStatistic getCountConnections()
Number of connections in keep-alive mode- Returns:
- number of connections
-
getMaxConnections
CountStatistic getMaxConnections()
Maximum number of connections allowed in keep-alive mode simultaneously- Returns:
- Max number of connections allowed
-
getCountHits
CountStatistic getCountHits()
The number of times a request was successfully received from a connection that had been kept alive- Returns:
- hits
-
getCountFlushes
CountStatistic getCountFlushes()
The number of times the server had to close a connection because the KeepAliveCount exceeded the MaxKeepAliveConnections- Returns:
- connections
-
getCountRefusals
CountStatistic getCountRefusals()
The number of times the server could not hand off the connection to a keep-alive thread, possibly due to too many persistent connections- Returns:
- refusals
-
getCountTimeouts
CountStatistic getCountTimeouts()
The number of times the server terminated keep-alive connections as the client connections timed out, without any activity- Returns:
- connections timed out
-
getSecondsTimeouts
CountStatistic getSecondsTimeouts()
The time (in seconds) before idle keep-alive connections are closed- Returns:
- time in seconds
-
-