open fun getLock(name: String, resultHandler: Handler<AsyncResult<Lock>>): Unit
Get a cluster wide lock with the specified name. The lock will be passed to the handler when it is available.
name - the name of the lock
name
resultHandler - the handler
resultHandler