public synchronized void relinquishAccess ( AuthenticationData authenticationData , ReentrantLock currentLock ) { if ( currentLock != null ) { ReentrantLock savedLock = authenticationDataLocks . get ( authenticationData ) ; if ( currentLock == savedLock ) { authenticationDataLocks . remove ( authenticationData ) ; } currentLock . unlock ( ) ; } if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isDebugEnabled ( ) ) { Tr . debug ( tc , "The size of the authenticationDataLocks is " , authenticationDataLocks . size ( ) ) ; } }
Unlocks the lock and cleans up internal state .