boolean isLocked ( Path lockFile ) throws JobLockException { try { return this . fs . exists ( lockFile ) ; } catch ( IOException e ) { throw new JobLockException ( e ) ; } }
Check if the lock is locked .