do work here ... } finally { lock.release(); } Note: although
lock.acquire should never fail, it is good practice to place it inside the try block anyway. Releasing without acquiring is far less catastrophic than acquiring without releasing.
This interface is not intended to be implemented by clients.
@see IJobManager#newLock()
@since 3.0