Class OpenSSLSessionStats
java.lang.Object
org.apache.tomcat.util.net.openssl.OpenSSLSessionStats
Stats exposed by an OpenSSL session context.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionlongaccept()Returns the number of started SSL/TLS handshakes in server mode.longReturns the number of successfully established SSL/TLS sessions in server mode.longReturns the number of start renegotiations in server mode.longReturns the number of sessions that were removed because the maximum session cache size was exceeded.longcbHits()Returns the number of successfully retrieved sessions from the external session cache in server mode.longconnect()Returns the number of started SSL/TLS handshakes in client mode.longReturns the number of successfully established SSL/TLS sessions in client mode.longReturns the number of start renegotiations in client mode.longhits()Returns the number of successfully reused sessions.longmisses()Returns the number of sessions proposed by clients that were not found in the internal session cache in server mode.longnumber()Returns the current number of sessions in the internal session cache.longtimeouts()Returns the number of sessions proposed by clients and either found in the internal or external session cache in server mode, but that were invalid due to timeout.
-
Method Details
-
number
public long number()Returns the current number of sessions in the internal session cache.- Returns:
- The current number of sessions
-
connect
public long connect()Returns the number of started SSL/TLS handshakes in client mode.- Returns:
- The number of started handshakes
-
connectGood
public long connectGood()Returns the number of successfully established SSL/TLS sessions in client mode.- Returns:
- The number of successful connections
-
connectRenegotiate
public long connectRenegotiate()Returns the number of start renegotiations in client mode.- Returns:
- The number of renegotiations
-
accept
public long accept()Returns the number of started SSL/TLS handshakes in server mode.- Returns:
- The number of started handshakes
-
acceptGood
public long acceptGood()Returns the number of successfully established SSL/TLS sessions in server mode.- Returns:
- The number of successful accepts
-
acceptRenegotiate
public long acceptRenegotiate()Returns the number of start renegotiations in server mode.- Returns:
- The number of renegotiations
-
hits
public long hits()Returns the number of successfully reused sessions. In client mode, a session set withSSL_set_sessionsuccessfully reused is counted as a hit. In server mode, a session successfully retrieved from internal or external cache is counted as a hit.- Returns:
- The number of session hits
-
cbHits
public long cbHits()Returns the number of successfully retrieved sessions from the external session cache in server mode.- Returns:
- The number of callback hits
-
misses
public long misses()Returns the number of sessions proposed by clients that were not found in the internal session cache in server mode.- Returns:
- The number of session misses
-
timeouts
public long timeouts()Returns the number of sessions proposed by clients and either found in the internal or external session cache in server mode, but that were invalid due to timeout. These sessions are not included in thehits()count.- Returns:
- The number of session timeouts
-
cacheFull
public long cacheFull()Returns the number of sessions that were removed because the maximum session cache size was exceeded.- Returns:
- The number of cache full evictions
-