vertx / io.vertx.core.shareddata / SharedData / getCounter

getCounter

abstract fun getCounter(name: String, resultHandler: Handler<AsyncResult<Counter>>): Unit

Get a cluster wide counter. The counter will be passed to the handler.

Parameters

name - the name of the counter.

resultHandler - the handler