Package | Description |
---|---|
io.vertx.core.shareddata |
== Using Shared Data with Vert.x
Shared data contains functionality that allows you to safely share data between different parts of your application,
or different applications in the same Vert.x instance or across a cluster of Vert.x instances.
|
io.vertx.core.spi.cluster |
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) |
Copyright © 2017. All rights reserved.