| Package | Description |
|---|---|
| io.vertx.core.shareddata | |
| io.vertx.core.spi.cluster | |
| io.vertx.rxjava.core.shareddata | |
| io.vertx.spi.cluster.hazelcast |
| 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(String, Handler) but specifying a timeout. |
| Modifier and Type | Method and Description |
|---|---|
void |
ClusterManager.getLockWithTimeout(String name,
long timeout,
Handler<AsyncResult<Lock>> resultHandler) |
| Modifier and Type | Method and Description |
|---|---|
static Lock |
Lock.newInstance(Lock arg) |
| Constructor and Description |
|---|
Lock(Lock delegate) |
| Modifier and Type | Method and Description |
|---|---|
void |
HazelcastClusterManager.getLockWithTimeout(String name,
long timeout,
Handler<AsyncResult<Lock>> resultHandler) |
Copyright © 2015. All rights reserved.