Interface RecursiveLock

    • Method Detail

      • getHoldCount

        int getHoldCount()
        Return the number of locks issued to this lock by the same thread.
        • A hold count of 0 identifies this lock as unlocked.
        • A hold count of 1 identifies this lock as locked.
        • A hold count of > 1 identifies this lock as recursively lock.
      • getQueueLength

        int getQueueLength()