Top Description Fields Constructors Methods
org.apache.tomcat.util.net.openssl

public final Class OpenSSLSessionStats

extends Object
Class Inheritance
Imports
org.apache.tomcat.jni.SSLContext

Stats exposed by an OpenSSL session context.
See Also
SSL_CTX_sess_number

Field Summary

Modifier and TypeField and Description
private final long

Constructor Summary

AccessConstructor and Description
pack-priv
OpenSSLSessionStats(long context)

Method Summary

Modifier and TypeMethod and Description
public long

Returns:

The number of started SSL/TLS handshakes in server mode.
accept
()

public long

Returns:

The number of successfully established SSL/TLS sessions in server mode.
acceptGood
()

public long

Returns:

The number of start renegotiations in server mode.
acceptRenegotiate
()

public long

Returns:

The number of sessions that were removed because the maximum session cache size was exceeded.
cacheFull
()

public long

Returns:

The number of successfully retrieved sessions from the external session cache in server mode.
cbHits
()

public long

Returns:

The number of started SSL/TLS handshakes in client mode.
connect
()

public long

Returns:

The number of successfully established SSL/TLS sessions in client mode.
connectGood
()

public long

Returns:

The number of start renegotiations in client mode.
connectRenegotiate
()

public long

Returns:

The number of successfully reused sessions. In client mode, a session set with SSL_set_session successfully reused is counted as a hit. In server mode, a session successfully retrieved from internal or external cache is counted as a hit.
hits
()

public long

Returns:

The number of sessions proposed by clients that were not found in the internal session cache in server mode.
misses
()

public long

Returns:

The current number of sessions in the internal session cache.
number
()

public long

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 the hits() count.
timeouts
()

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

contextback to summary
private final long context

Constructor Detail

OpenSSLSessionStatsback to summary
pack-priv OpenSSLSessionStats(long context)

Method Detail

acceptback to summary
public long accept()
Returns:long

The number of started SSL/TLS handshakes in server mode.

acceptGoodback to summary
public long acceptGood()
Returns:long

The number of successfully established SSL/TLS sessions in server mode.

acceptRenegotiateback to summary
public long acceptRenegotiate()
Returns:long

The number of start renegotiations in server mode.

cacheFullback to summary
public long cacheFull()
Returns:long

The number of sessions that were removed because the maximum session cache size was exceeded.

cbHitsback to summary
public long cbHits()
Returns:long

The number of successfully retrieved sessions from the external session cache in server mode.

connectback to summary
public long connect()
Returns:long

The number of started SSL/TLS handshakes in client mode.

connectGoodback to summary
public long connectGood()
Returns:long

The number of successfully established SSL/TLS sessions in client mode.

connectRenegotiateback to summary
public long connectRenegotiate()
Returns:long

The number of start renegotiations in client mode.

hitsback to summary
public long hits()
Returns:long

The number of successfully reused sessions. In client mode, a session set with SSL_set_session successfully reused is counted as a hit. In server mode, a session successfully retrieved from internal or external cache is counted as a hit.

missesback to summary
public long misses()
Returns:long

The number of sessions proposed by clients that were not found in the internal session cache in server mode.

numberback to summary
public long number()
Returns:long

The current number of sessions in the internal session cache.

timeoutsback to summary
public long timeouts()
Returns:long

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 the hits() count.