Apache Lucene.Net 2.4.0 Class Library API

Lock.Obtain Method ()

Attempts to obtain exclusive access and immediately return upon success or failure.

public abstract bool Obtain();

Return Value

true iff exclusive access is obtained

See Also

Lock Class | Lucene.Net.Store Namespace | Lock.Obtain Overload List