Apache Lucene.Net 2.4.0 Class Library API

SingleInstanceLockFactory Class

Implements {@link LockFactory} for a single in-process instance, meaning all locking will take place through this one instance. Only use this {@link LockFactory} when you are certain all IndexReaders and IndexWriters for a given index are running against a single shared in-process Directory instance. This is currently the default locking for RAMDirectory.

For a list of all members of this type, see SingleInstanceLockFactory Members.

System.Object
   Lucene.Net.Store.LockFactory
      Lucene.Net.Store.SingleInstanceLockFactory

public class SingleInstanceLockFactory : LockFactory

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Requirements

Namespace: Lucene.Net.Store

Assembly: Lucene.Net (in Lucene.Net.dll)

See Also

SingleInstanceLockFactory Members | Lucene.Net.Store Namespace |