Class OpenSslSessionStats

java.lang.Object
io.netty.handler.ssl.OpenSslSessionStats

public final class OpenSslSessionStats extends Object
Stats exposed by an OpenSSL session context.
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Returns the number of started SSL/TLS handshakes in server mode.
    long
    Returns the number of successfully established SSL/TLS sessions in server mode.
    long
    Returns the number of start renegotiations in server mode.
    long
    Returns the number of sessions that were removed because the maximum session cache size was exceeded.
    long
    Returns the number of successfully retrieved sessions from the external session cache in server mode.
    long
    Returns the number of started SSL/TLS handshakes in client mode.
    long
    Returns the number of successfully established SSL/TLS sessions in client mode.
    long
    Returns the number of start renegotiations in client mode.
    long
    Returns the number of successfully reused sessions.
    long
    Returns the number of sessions proposed by clients that were not found in the internal session cache in server mode.
    long
    Returns the current number of sessions in the internal session cache.
    long
    Returns the number of times a client presented a ticket that did not match any key in the list.
    long
    Returns the number of times a client did not present a ticket and we issued a new one
    long
    Returns the number of times a client presented a ticket derived from an older key, and we upgraded to the primary key.
    long
    Returns the number of times a client presented a ticket derived from the primary key.
    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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

  • Method Details

    • number

      public long number()
      Returns the current number of sessions in the internal session cache.
    • connect

      public long connect()
      Returns the number of started SSL/TLS handshakes in client mode.
    • connectGood

      public long connectGood()
      Returns the number of successfully established SSL/TLS sessions in client mode.
    • connectRenegotiate

      public long connectRenegotiate()
      Returns the number of start renegotiations in client mode.
    • accept

      public long accept()
      Returns the number of started SSL/TLS handshakes in server mode.
    • acceptGood

      public long acceptGood()
      Returns the number of successfully established SSL/TLS sessions in server mode.
    • acceptRenegotiate

      public long acceptRenegotiate()
      Returns the number of start renegotiations in server mode.
    • hits

      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.
    • cbHits

      public long cbHits()
      Returns the number of successfully retrieved sessions from the external session cache in server mode.
    • misses

      public long misses()
      Returns the number of sessions proposed by clients that were not found in the internal session cache in server mode.
    • 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 the hits() count.
    • cacheFull

      public long cacheFull()
      Returns the number of sessions that were removed because the maximum session cache size was exceeded.
    • ticketKeyFail

      public long ticketKeyFail()
      Returns the number of times a client presented a ticket that did not match any key in the list.
    • ticketKeyNew

      public long ticketKeyNew()
      Returns the number of times a client did not present a ticket and we issued a new one
    • ticketKeyRenew

      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.
    • ticketKeyResume

      public long ticketKeyResume()
      Returns the number of times a client presented a ticket derived from the primary key.