void function ( ) { this . lock . lock ( ) ; try { Thread . sleep ( this . processingTime ) ; } catch ( InterruptedException loc0 ) { } finally { this . lock . unlock ( ) ; this . latch . countDown ( ) ; } }
obtains a lock , sleeps for #processingtime milliseconds and then unlocks the lock concode_field_sep EJBReadWriteLock ejbReadWriteLock concode_elem_sep Lock lock concode_elem_sep CountDownLatch latch concode_elem_sep long processingTime concode_field_sep void testSameThreadCanGetWriteThenReadLock concode_elem_sep void testTimeout concode_elem_sep void beforeTest concode_elem_sep void afterTest concode_elem_sep void testIllegalLoopBack