Package | Description |
---|---|
io.vertx.rxjava.core.shareddata |
Modifier and Type | Method and Description |
---|---|
static Lock |
Lock.newInstance(Lock arg) |
Modifier and Type | Method and Description |
---|---|
Observable<Lock> |
SharedData.getLockObservable(String name)
Get a cluster wide lock with the specified name.
|
Observable<Lock> |
SharedData.getLockWithTimeoutObservable(String name,
long timeout)
Like
SharedData.getLock(java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.rxjava.core.shareddata.Lock>>) but specifying a timeout. |
Modifier and Type | Method and Description |
---|---|
void |
SharedData.getLock(String name,
Handler<AsyncResult<Lock>> resultHandler)
Get a cluster wide lock with the specified name.
|
void |
SharedData.getLockWithTimeout(String name,
long timeout,
Handler<AsyncResult<Lock>> resultHandler)
Like
SharedData.getLock(java.lang.String, io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.rxjava.core.shareddata.Lock>>) but specifying a timeout. |
Copyright © 2016. All rights reserved.