Interface Lock


  • public interface Lock
    A lock on a specific monitor that can be used for synchronization purposes.
    • Method Detail

      • isActive

        boolean isActive()
        Checks whether the lock is still active.
      • release

        void release()
        Release the lock, making it inactive.