<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 12-04-26 8:09 AM, Manik Surtani wrote:
<blockquote
cite="mid:66FF7DC7-9F01-4218-9E27-503DFDDE99F3@jboss.org"
type="cite"><br>
<div>
<div>On 26 Apr 2012, at 13:05, Dan Berindei wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div>What seems to be missing is an overload with a custom
timeout, it may<br>
be useful to try locking with a shorter timeout in the first
attempt<br>
(maybe even 0?) like we do for deadlock detection.<br>
</div>
</blockquote>
<div><br>
</div>
<div>There is a flag for that.</div>
<div><br>
</div>
<div><a moz-do-not-send="true"
href="https://github.com/infinispan/infinispan/blob/master/core/src/main/java/org/infinispan/context/Flag.java#L79">https://github.com/infinispan/infinispan/blob/master/core/src/main/java/org/infinispan/context/Flag.java#L79</a></div>
<div><br>
</div>
</div>
</blockquote>
Are we sure
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<span class="cm">ZERO_LOCK_ACQUISITION_TIMEOUT is the best way to
name this flag ? Maybe that is why people can not find it :-(<br>
<br>
<br>
</span>
</body>
</html>