Apache Lucene.Net 2.4.0 Class Library API

Lock Fields

The fields of the Lock class are listed below. For a complete list of Lock class members, see the Lock Members topic.

Public Static Fields

LOCK_OBTAIN_WAIT_FOREVERPass this value to {@link #Obtain(long)} to try forever to obtain the lock.
LOCK_POLL_INTERVALHow long {@link #Obtain(long)} waits, in milliseconds, in between attempts to acquire the lock.

Protected Internal Instance Fields

failureReason If a lock obtain called, this failureReason may be set with the "root cause" Exception as to why the lock was not obtained.

See Also

Lock Class | Lucene.Net.Store Namespace