lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sanne Grinovero <sanne.grinov...@gmail.com>
Subject Lock API, throwing IOException
Date Sat, 31 Oct 2009 13:43:11 GMT
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


Mime
View raw message