background preloader

Distributed Locking

Facebook Twitter

Apache ZooKeeper - Home. Lock - hazelcast - Distributed Lock - In-Memory Data Grid for Java. Import com . hazelcast . core .

Lock - hazelcast - Distributed Lock - In-Memory Data Grid for Java

Hazelcast ; import java . util . concurrent . locks . Lock ; Lock lock = Hazelcast . getLock ( myLockedObject ); lock . lock (); try { // do something here } finally { lock . unlock (); } java.util.concurrent.locks.Lock.tryLock() with timeout is also supported. Hazelcast/hazelcast. Java - Distributed Lock Service. Java - Distributed Concurrency Control. 12.15 Miscellaneous Functions. Deftlabs/mongo-java-distributed-lock.