On Thu, Nov 12, 2009 at 9:32 PM, Alex Miller <[email protected]> wrote:
> Tim rightly pointed at ConcurrentDistributedMap.createFinegrainedLock(K) > which will return you a FineGrainedLock object (with tryLock methods) that > lets you accomplish the equivalent of tryLockEntry(). Is that sufficient? It seems to suit my needs, just a question: are locks reentrant? That is, if I manually get a FinegrainedLock for a given key K, and by holding the same lock I also put a value on the map for that key (causing another call to ManagerUtil.beginLock(K)), is the lock call for K reentrant? -- Sergio Bossa Software Passionate and Open Source Enthusiast. URL: http://www.linkedin.com/in/sergiob _______________________________________________ tc-dev mailing list [email protected] http://lists.terracotta.org/mailman/listinfo/tc-dev
