Interface HazelcastObjectProvider
public interface HazelcastObjectProvider
SPI to allow different implementations of Map, AsyncMap, Lock and Counter
-
Method Summary
Modifier and TypeMethodDescriptioncreateCounter(String name) Return Counter with given name, if the Counter doesn't exist it is initialized to 0<K,V> AsyncMap <K, V> getAsyncMap(String name) ReturnAsyncMapfor the given namegetLockWithTimeout(String name, long timeout) Return Lock with the given name within specified timeout (in ms)<K,V> Map <K, V> getSyncMap(String name) Return synchronous map for the given namevoidonJoin(io.vertx.core.internal.VertxInternal vertx, io.vertx.spi.cluster.hazelcast.impl.ConversionUtils conversionUtils, HazelcastInstance hazelcast, ExecutorService lockReleaseExec) Lifecycle method to initialize this provider when all dependencies become available,
-
Method Details
-
onJoin
void onJoin(io.vertx.core.internal.VertxInternal vertx, io.vertx.spi.cluster.hazelcast.impl.ConversionUtils conversionUtils, HazelcastInstance hazelcast, ExecutorService lockReleaseExec) Lifecycle method to initialize this provider when all dependencies become available, -
getAsyncMap
-
getSyncMap
-
getLockWithTimeout
-
createCounter
-