public long number ( ) { Lock readerLock = context . ctxLock . readLock ( ) ; readerLock . lock ( ) ; try { return SSLContext . sessionNumber ( context . ctx ) ; } finally { readerLock . unlock ( ) ; } }
Returns the current number of sessions in the internal session cache .