public void writeLock ( EntityKey key , int timeout ) { ReadWriteLock lock = getLock ( key ) ; Lock writeLock = lock . writeLock ( ) ; acquireLock ( key , timeout , writeLock ) ; }
Acquires a write lock on a specific key .