open class InfinispanClusterManager : ClusterManager
Author
Thomas Segismont
InfinispanClusterManager()
Creates a new cluster manager configured with InfinispanClusterManager(cacheManager: DefaultCacheManager)
Creates a new cluster manager with an existing DefaultCacheManager. It is your responsibility to start/stop the cache manager when the Vert.x instance joins/leaves the cluster. |
open fun <K : Any, V : Any> getAsyncMap(: String, : Handler<AsyncResult<AsyncMap<K, V>>>): Unit |
|
open fun <K : Any, V : Any> getAsyncMultiMap(name: String, resultHandler: Handler<AsyncResult<AsyncMultiMap<K, V>>>): Unit |
|
open fun getCacheContainer(): BasicCacheContainer |
|
open fun getCounter(: String, : Handler<AsyncResult<Counter>>): Unit |
|
open fun getLockWithTimeout(: String, : Long, : Handler<AsyncResult<Lock>>): Unit |
|
open fun getNodeID(): String |
|
open fun getNodes(): MutableList<String> |
|
open fun <K : Any, V : Any> getSyncMap(name: String): MutableMap<K, V> |
|
open fun isActive(): Boolean |
|
open fun join(resultHandler: Handler<AsyncResult<Void>>): Unit |
|
open fun leave(resultHandler: Handler<AsyncResult<Void>>): Unit |
|
open fun nodeListener(nodeListener: NodeListener): Unit |
|
open fun setVertx(vertx: Vertx): Unit |