| Package | Description |
|---|---|
| io.vertx.core.shareddata | |
| io.vertx.core.spi.cluster |
| Modifier and Type | Method and Description |
|---|---|
Future<Counter> |
SharedData.getCounter(String name)
Same as
SharedData.getCounter(String, Handler) but returns a Future of the asynchronous result |
Future<Counter> |
SharedData.getLocalCounter(String name)
Same as
SharedData.getLocalCounter(String, Handler) but returns a Future of the asynchronous result |
| Modifier and Type | Method and Description |
|---|---|
void |
SharedData.getCounter(String name,
Handler<AsyncResult<Counter>> resultHandler)
Get an asynchronous counter.
|
void |
SharedData.getLocalCounter(String name,
Handler<AsyncResult<Counter>> resultHandler)
Get an asynchronous local counter.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ClusterManager.getCounter(String name,
Promise<Counter> promise)
Return a
Counter for the given name. |
Copyright © 2020 Eclipse. All rights reserved.