org.jboss.jca.adapters.jdbc.util

## Class ReentrantLock

- java.lang.Object
- - java.util.concurrent.locks.ReentrantLock
  - - org.jboss.jca.adapters.jdbc.util.ReentrantLock

- All Implemented Interfaces:
    java.io.Serializable, java.util.concurrent.locks.Lock

      public class ReentrantLock
      extends java.util.concurrent.locks.ReentrantLock

  ReentrantLock override
  Author:
    Jesper Pedersen
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ReentrantLock(boolean fair)` Constructor

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.Thread` | `getOwner()`
    `java.util.Collection<java.lang.Thread>` | `getQueuedThreads()`

    - ### Methods inherited from class java.util.concurrent.locks.ReentrantLock

      `getHoldCount, getQueueLength, getWaitingThreads, getWaitQueueLength, hasQueuedThread, hasQueuedThreads, hasWaiters, isFair, isHeldByCurrentThread, isLocked, lock, lockInterruptibly, newCondition, toString, tryLock, tryLock, unlock`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### ReentrantLock

          public ReentrantLock(boolean fair)

      Constructor
      Parameters:
        `fair` - Fair locking

  - ### Method Detail

    - #### getOwner

          public java.lang.Thread getOwner()

      Overrides:
        `getOwner` in class `java.util.concurrent.locks.ReentrantLock`

    - #### getQueuedThreads

          public java.util.Collection<java.lang.Thread> getQueuedThreads()

      Overrides:
        `getQueuedThreads` in class `java.util.concurrent.locks.ReentrantLock`

Copyright © 2014 IronJacamar (http://www.ironjacamar.org)