Class LockCleaner.CleanableLock<T extends Lock>

All Implemented Interfaces:
Enclosing class:
LockCleaner<T extends Lock>

public static class LockCleaner.CleanableLock<T extends Lock> extends Object implements Lock
  • Constructor Details

  • 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