Module com.hazelcast.vertx
Class EnterpriseHazelcastLock
java.lang.Object
com.hazelcast.vertx.io.vertx.spi.cluster.hazelcast.impl.EnterpriseHazelcastLock
- All Implemented Interfaces:
io.vertx.core.shareddata.Lock
Implementation of
Lock based on Hazelcast CP Subsystem-
Constructor Summary
ConstructorsConstructorDescriptionEnterpriseHazelcastLock(com.hazelcast.cp.ISemaphore semaphore, Executor lockReleaseExec) -
Method Summary
-
Constructor Details
-
EnterpriseHazelcastLock
-
-
Method Details
-
release
public void release()- Specified by:
releasein interfaceio.vertx.core.shareddata.Lock
-