On 12-04-26 8:09 AM, Manik Surtani wrote:

On 26 Apr 2012, at 13:05, Dan Berindei wrote:

What seems to be missing is an overload with a custom timeout, it may
be useful to try locking with a shorter timeout in the first attempt
(maybe even 0?) like we do for deadlock detection.

There is a flag for that.

https://github.com/infinispan/infinispan/blob/master/core/src/main/java/org/infinispan/context/Flag.java#L79

Are we sure ZERO_LOCK_ACQUISITION_TIMEOUT is the best way to name this flag ? Maybe that is why people can not find it :-(


_______________________________________________
infinispan-dev mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/infinispan-dev

Reply via email to