Apache Lucene.Net 2.4.0 Class Library API

Lock.IsLocked Method 

Returns true if the resource is currently locked. Note that one must still call {@link #Obtain()} before using the resource.

public abstract bool IsLocked();

See Also

Lock Class | Lucene.Net.Store Namespace