to use in assert block . concode_field_sep AtomicInteger users concode_elem_sep boolean ignoreThreadInterruption concode_elem_sep ReentrantReadWriteLock lock concode_elem_sep boolean concurrent concode_elem_sep int scaledUpCount concode_elem_sep int timeout concode_field_sep void acquireSharedLock concode_elem_sep void throwTimeoutException concode_elem_sep boolean tryAcquireExclusiveLock concode_elem_sep int addUser concode_elem_sep void acquireExclusiveLock concode_elem_sep boolean isConcurrent concode_elem_sep String extractLockOwnerStackTrace concode_elem_sep void releaseSharedLock concode_elem_sep int removeUser concode_elem_sep int getUsers concode_elem_sep boolean assertSharedLockHold concode_elem_sep boolean tryAcquireSharedLock concode_elem_sep void releaseExclusiveLock
boolean function ( ) { return lock . getWriteHoldCount ( ) > 0 ; }