Code example for ReentrantLock

Methods: getHoldCount, hasQueuedThreads, hashCode, isHeldByCurrentThread