// Check to see if this is locked.
if (LockDao.isLocked(_mongo, lockName, _svcOptions)) continue;
// The lock is not locked, wakeup any blocking threads.
lock.wakeupBlocked();
}
Thread.sleep(FREQUENCY);
} catch (final InterruptedException ie) { break;
} catch (final Throwable t) { LOG.log(Level.SEVERE, t.getMessage(), t); }