Interface HazelcastObjectProvider
-
public interface HazelcastObjectProviderSPI to allow different implementations of Map, AsyncMap, Lock and Counter
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CountercreateCounter(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 nameLockgetLockWithTimeout(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 Detail
-
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,
-
getLockWithTimeout
Lock getLockWithTimeout(String name, long timeout)
Return Lock with the given name within specified timeout (in ms)
-
-