lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: Lock API, throwing IOException
Date Sun, 01 Nov 2009 09:55:38 GMT
OK, this makes sense.  I'll add it.

Mike

On Sat, Oct 31, 2009 at 9:43 AM, Sanne Grinovero
<sanne.grinovero@gmail.com> wrote:
> Hello,
> I'm implementing a distributed directory based on Infinispan
> (www.jboss.org/infinispan)
>
> currently implementing the org.apache.lucene.store.Lock,
> I was wondering why is
>
> /** Returns true if the resource is currently locked.  Note that one must
>   * still call {@link #obtain()} before using the resource. */
> public abstract boolean isLocked();
>
> not throwing an IOException as other methods do?
>
> Could you please add it? It looks like it should be trivial, as all
> clients of this API are already declaring to throw the same Exception.
>
> Regards,
> Sanne Grinovero
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-dev-help@lucene.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message