ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Rogachevsky <a...@px100systems.com>
Subject Named cluster-wide lock
Date Mon, 24 Aug 2015 20:38:23 GMT
I need to lock the entire cluster during loading. Different cluster nodes
load different caches concurrently from different "databases" on startup. I
adapted the IgniteCountDownLatch for that, however a more "atomic"
cluster-wide lock would be nice. Something like 

*java.util.concurrent.locks.Lock Ignite.lock(String lockName, Long
timeout)*, where /timeout/ can be null to wait indefinitely or zero to just
try the lock.



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Named-cluster-wide-lock-tp1115.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Mime
View raw message