private Object retrieveLock ( String key ) { Object lock = this . lockMap . get ( key ) ; if ( lock == null ) { lock = key ; this . lockMap . put ( key , lock ) ; } return lock ; }
Retrieve the lock object for a given key