com.hammurapi.store.local

## Class LocalTrackingLock

- java.lang.Object
- - com.hammurapi.store.AbstractTrackingLock
  - - com.hammurapi.store.local.LocalTrackingLock

- All Implemented Interfaces:
    TrackingLock, Lock

      public class LocalTrackingLock
      extends AbstractTrackingLock

  This class tracks number of locks acquired by current thread.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `LocalTrackingLock(Lock master)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | `decCounter()`
    `protected int` | `getCounter()`
    `protected void` | `incCounter()`

    - ### Methods inherited from class com.hammurapi.store.AbstractTrackingLock

      `isLocked, lock, lockInterruptibly, newCondition, tryLock, tryLock, unlock`

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

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

- - ### Constructor Detail

    - #### LocalTrackingLock

          public LocalTrackingLock(Lock master)

  - ### Method Detail

    - #### incCounter

          protected void incCounter()

      Specified by:
        `incCounter` in class `AbstractTrackingLock`

    - #### decCounter

          protected void decCounter()

      Specified by:
        `decCounter` in class `AbstractTrackingLock`

    - #### getCounter

          protected int getCounter()

      Specified by:
        `getCounter` in class `AbstractTrackingLock`