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.
Namespace: Lucene.Net.StoreAssembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
C# |
---|
public class SingleInstanceLockFactory : LockFactory |
Visual Basic |
---|
Public Class SingleInstanceLockFactory _ Inherits LockFactory |
Visual C++ |
---|
public ref class SingleInstanceLockFactory : public LockFactory |
Inheritance Hierarchy
System..::..Object
Lucene.Net.Store..::..LockFactory
Lucene.Net.Store..::..SingleInstanceLockFactory
Lucene.Net.Store..::..LockFactory
Lucene.Net.Store..::..SingleInstanceLockFactory