Class LockTracking.SimpleLock<T extends Lock>

java.lang.Object
org.eclipse.rdf4j.common.concurrent.locks.diagnostics.LockTracking.SimpleLock<T>
All Implemented Interfaces:
Lock
Enclosing class:
LockTracking<T extends Lock>

public static class LockTracking.SimpleLock<T extends Lock> extends Object implements Lock
  • Constructor Details

    • SimpleLock

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

    • 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
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object