code: public long timeouts() {
          Lock readerLock = context.ctxLock.readLock();
          readerLock.lock();
          try {
              return SSLContext.sessionTimeouts(context.ctx);
          } finally {
              readerLock.unlock();
          }
      }
docs: 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 {@link #hits()}
  count.