Interface PWCKeepAliveStats
- All Superinterfaces:
Stats
Provides statistical information about the HttpService HTTP-level keep-alive system
- Author:
- nsegura
-
Method Summary
Modifier and TypeMethodDescriptionNumber of connections in keep-alive modeThe number of times the server had to close a connection because the KeepAliveCount exceeded the MaxKeepAliveConnectionsThe number of times a request was successfully received from a connection that had been kept aliveThe number of times the server could not hand off the connection to a keep-alive thread, possibly due to too many persistent connectionsThe number of times the server terminated keep-alive connections as the client connections timed out, without any activityMaximum number of connections allowed in keep-alive mode simultaneouslyThe time (in seconds) before idle keep-alive connections are closedMethods inherited from interface org.glassfish.j2ee.statistics.Stats
getStatistic, getStatisticNames, getStatistics
-
Method Details
-
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
-