Class LockTracking.SimpleLock<T extends Lock>

    • Constructor Detail

      • SimpleLock

        public SimpleLock​(T lock,
                          String alias,
                          long acquiredId,
                          Throwable stack,
                          Thread thread,
                          org.slf4j.Logger logger)
    • Method Detail

      • isActive

        public boolean isActive()
        Description copied from interface: Lock
        Checks whether the lock is still active.
        Specified by:
        isActive in interface Lock
      • release

        public void release()
        Description copied from interface: Lock
        Release the lock, making it inactive.
        Specified by:
        release in interface Lock
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object