<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    On 12-04-26 1:17 PM, Manik Surtani wrote:
    <blockquote
      cite="mid:EC89D41D-66EE-42AC-B11B-BD18CD4B661B@jboss.org"
      type="cite"><br>
      <div>
        <div>On 26 Apr 2012, at 16:24, Vladimir Blagojevic wrote:</div>
        <br class="Apple-interchange-newline">
        <blockquote type="cite"><span class="Apple-style-span"
            style="border-collapse: separate; font-family: Helvetica;
            font-style: normal; font-variant: normal; font-weight:
            normal; letter-spacing: normal; line-height: normal;
            orphans: 2; text-align: -webkit-auto; text-indent: 0px;
            text-transform: none; white-space: normal; widows: 2;
            word-spacing: 0px; -webkit-border-horizontal-spacing: 0px;
            -webkit-border-vertical-spacing: 0px;
            -webkit-text-decorations-in-effect: none;
            -webkit-text-size-adjust: auto; -webkit-text-stroke-width:
            0px; font-size: medium; ">
            <div bgcolor="#FFFFFF" text="#000000">
              <blockquote
                cite="mid:66FF7DC7-9F01-4218-9E27-503DFDDE99F3@jboss.org"
                type="cite">
                <div>
                  <div><br class="Apple-interchange-newline">
                    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<span class="Apple-converted-space">&nbsp;</span><span
                class="cm">ZERO_LOCK_ACQUISITION_TIMEOUT is the best way
                to name this flag ? Maybe that is why people can not
                find it :-(</span></div>
          </span></blockquote>
        <br>
      </div>
      <div>What would you call it? &nbsp;;)</div>
      <br>
    </blockquote>
    Maybe TRY_LOCK or LOCK_IF_UNCONTENDED but I would not change current
    name and cause additional problems. Why don't we add tryLock() and
    tryLock(long time, TimeUnit unit) signatures. My cursory checks of
    the codebase indicate that all of the infrastructure is already in
    place, right?<br>
    <br>
    <br>
  </body>
</html>