Class HazelcastGlobalLock
-
- All Implemented Interfaces:
-
pro.fessional.mirana.lock.GlobalLock
public class HazelcastGlobalLock implements GlobalLockPessimistic Locking IMap.lock/unlock The lock will automatically be collected by the garbage collector when the lock is released and no other waiting conditions exist on the lock. FencedLock - Locks are not automatically removed. If a lock is not used anymore, Hazelcast does not automatically perform garbage collection in the lock. This can lead to an OutOfMemoryError. If you create locks on the fly, make sure they are destroyed.- Since:
2021-03-08
trydofor
-
-
Constructor Summary
Constructors Constructor Description HazelcastGlobalLock(HazelcastInstance hazelcastInstance)
-