| 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 |
|---|---|
rx.Observable<Lock> |
SharedData.getLockObservable(String name)
Get a cluster wide lock with the specified name.
|
rx.Observable<Lock> |
SharedData.getLockWithTimeoutObservable(String name,
long timeout)
Like
SharedData 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 but specifying a timeout. |
Copyright © 2015. All rights reserved.