private void decReadLockCount ( ) { Integer current = readLockCount . get ( ) ; int next ; assert current != null : "can't decrease, readLockCount is not set" ; next = current . intValue ( ) - 1 ; if ( next == 0 ) readLockCount . remove ( ) ; else readLockCount . set ( new Integer ( next ) ) ; }
Decrements the read lock count held by the thread