question: private void endLocalWrite ( EntryEventImpl event ) { if ( ! needWriteLock ( event ) ) { return ; } doUnlockForPrimary ( ) ; Object keys [ ] = new Object [ 1 ] ; keys [ 0 ] = event . getKey ( ) ; removeAndNotifyKeys ( keys ) ; }
target:  Release the lock on the bucket that makes the bucket stay the primary during a write.