Top Description Fields Constructors Methods
io.netty.handler.ssl

public final Class OpenSslSessionStats

extends Object
Class Inheritance
Imports
io.netty.internal.tcnative.SSLContext, java.util.concurrent.locks.Lock

Stats exposed by an OpenSSL session context.
See Also
SSL_CTX_sess_number

Field Summary

Modifier and TypeField and Description
private final ReferenceCountedOpenSslContext

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public long
accept()

Returns the number of started SSL/TLS handshakes in server mode.

public long
acceptGood()

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

public long
acceptRenegotiate()

Returns the number of start renegotiations in server mode.

public long
cacheFull()

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

public long
cbHits()

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

public long
connect()

Returns the number of started SSL/TLS handshakes in client mode.

public long
connectGood()

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

public long
connectRenegotiate()

Returns the number of start renegotiations in client mode.

public long
hits()

Returns the number of successfully reused sessions.

public long
misses()

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

public long
number()

Returns the current number of sessions in the internal session cache.

public long
ticketKeyFail()

Returns the number of times a client presented a ticket that did not match any key in the list.

public long
ticketKeyNew()

Returns the number of times a client did not present a ticket and we issued a new one

public long
ticketKeyRenew()

Returns the number of times a client presented a ticket derived from an older key, and we upgraded to the primary key.

public long
ticketKeyResume()

Returns the number of times a client presented a ticket derived from the primary key.

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.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

contextback to summary
private final ReferenceCountedOpenSslContext context

Constructor Detail

OpenSslSessionStatsback to summary
pack-priv OpenSslSessionStats(ReferenceCountedOpenSslContext context)

Method Detail

acceptback to summary
public long accept()

Returns the number of started SSL/TLS handshakes in server mode.

acceptGoodback to summary
public long acceptGood()

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

acceptRenegotiateback to summary
public long acceptRenegotiate()

Returns the number of start renegotiations in server mode.

cacheFullback to summary
public long cacheFull()

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

cbHitsback to summary
public long cbHits()

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

connectback to summary
public long connect()

Returns the number of started SSL/TLS handshakes in client mode.

connectGoodback to summary
public long connectGood()

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

connectRenegotiateback to summary
public long connectRenegotiate()

Returns the number of start renegotiations in client mode.

hitsback to summary
public long hits()

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.

missesback to summary
public long misses()

Returns 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 the current number of sessions in the internal session cache.

ticketKeyFailback to summary
public long ticketKeyFail()

Returns the number of times a client presented a ticket that did not match any key in the list.

ticketKeyNewback to summary
public long ticketKeyNew()

Returns the number of times a client did not present a ticket and we issued a new one

ticketKeyRenewback to summary
public long ticketKeyRenew()

Returns the number of times a client presented a ticket derived from an older key, and we upgraded to the primary key.

ticketKeyResumeback to summary
public long ticketKeyResume()

Returns the number of times a client presented a ticket derived from the primary key.

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