Module com.hazelcast.vertx
Class EnterpriseHazelcastObjectProvider
java.lang.Object
io.vertx.spi.cluster.hazelcast.impl.HazelcastObjectProviderImpl
com.hazelcast.vertx.io.vertx.spi.cluster.hazelcast.impl.EnterpriseHazelcastObjectProvider
- All Implemented Interfaces:
io.vertx.spi.cluster.hazelcast.spi.HazelcastObjectProvider
public class EnterpriseHazelcastObjectProvider
extends io.vertx.spi.cluster.hazelcast.impl.HazelcastObjectProviderImpl
Implementation of HazelcastObjectProvider using CP subsystem to
implement
Counter and Lock.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.vertx.core.shareddata.CountercreateCounter(String name) io.vertx.core.shareddata.LockgetLockWithTimeout(String name, long timeout) voidonJoin(io.vertx.core.internal.VertxInternal vertx, io.vertx.spi.cluster.hazelcast.impl.ConversionUtils conversionUtils, com.hazelcast.core.HazelcastInstance hazelcast, ExecutorService lockReleaseExec) Methods inherited from class io.vertx.spi.cluster.hazelcast.impl.HazelcastObjectProviderImpl
getAsyncMap, getSyncMap
-
Constructor Details
-
EnterpriseHazelcastObjectProvider
public EnterpriseHazelcastObjectProvider()
-
-
Method Details
-
onJoin
public void onJoin(io.vertx.core.internal.VertxInternal vertx, io.vertx.spi.cluster.hazelcast.impl.ConversionUtils conversionUtils, com.hazelcast.core.HazelcastInstance hazelcast, ExecutorService lockReleaseExec) - Specified by:
onJoinin interfaceio.vertx.spi.cluster.hazelcast.spi.HazelcastObjectProvider- Overrides:
onJoinin classio.vertx.spi.cluster.hazelcast.impl.HazelcastObjectProviderImpl
-
getLockWithTimeout
- Specified by:
getLockWithTimeoutin interfaceio.vertx.spi.cluster.hazelcast.spi.HazelcastObjectProvider- Overrides:
getLockWithTimeoutin classio.vertx.spi.cluster.hazelcast.impl.HazelcastObjectProviderImpl
-
createCounter
- Specified by:
createCounterin interfaceio.vertx.spi.cluster.hazelcast.spi.HazelcastObjectProvider- Overrides:
createCounterin classio.vertx.spi.cluster.hazelcast.impl.HazelcastObjectProviderImpl
-