code: public long misses() {
          Lock readerLock = context.ctxLock.readLock();
          readerLock.lock();
          try {
              return SSLContext.sessionMisses(context.ctx);
          } finally {
              readerLock.unlock();
          }
      }
docs: Returns the number of sessions proposed by clients that were not found in the internal session cache
  in server mode.