Constructor and Description |
---|
AsynchronousLock() |
AsynchronousLock(Vertx vertx) |
Modifier and Type | Method and Description |
---|---|
void |
acquire(long timeout,
Handler<AsyncResult<Lock>> resultHandler) |
void |
doAcquire(Context context,
long timeout,
Handler<AsyncResult<Lock>> resultHandler) |
void |
release()
Release the lock.
|
public AsynchronousLock(Vertx vertx)
public AsynchronousLock()
public void acquire(long timeout, Handler<AsyncResult<Lock>> resultHandler)
public void release()
Lock
public void doAcquire(Context context, long timeout, Handler<AsyncResult<Lock>> resultHandler)
Copyright © 2015. All Rights Reserved.