code: @Override
    public boolean tryLock() throws JobLockException {
      try {
        return this.lock.acquire(lockAcquireTimeoutMilliseconds, TimeUnit.MILLISECONDS);
      } catch (Exception e) {
        throw new JobLockException("Failed to acquire lock " + this.lockPath, e);
      }
    }
docs: Try locking the lock.
  
  @return <em>true</em> if the lock is successfully locked,
  <em>false</em> if otherwise.
  @throws IOException