abstract fun getLockWithTimeout(name: String, timeout: Long, resultHandler: Handler<AsyncResult<Lock>>): Unit
Like #getLock(String, Handler) but specifying a timeout. If the lock is not obtained within the timeout a failure will be sent to the handler
#getLock(String, Handler)
name - the name of the lock
name
timeout - the timeout in ms
timeout
resultHandler - the handler
resultHandler