On 8/27/06, Doron Cohen <[EMAIL PROTECTED]> wrote:
I plan to submit an update to that patch later today accommodating your comments (and others); It will most probably retry for IOExceptions (not analyzing the exception text); also, it would return false if the *retry* for obtain() failed with exception.
Lock.obtain(timeout) already has retry/timeout logic around Lock.obtain(), so wouldn't the change to return false on an IOException be sufficient? User level applications should then use obtain(timeout) rather than obtain() unless they want to do timeout/retry logic themselves. -Yonik http://incubator.apache.org/solr Solr, the open-source Lucene search server --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]