Class SingleInstanceLockFactory
Implements LockFactory for a single in-process instance,
meaning all locking will take place through this one instance.
Only use this 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.
Inheritance
System.Object
SingleInstanceLockFactory
Assembly: Lucene.Net.dll
Syntax
public class SingleInstanceLockFactory : LockFactory
Methods
|
Improve this Doc
View Source
ClearLock(String)
Declaration
public override void ClearLock(string lockName)
Parameters
Type |
Name |
Description |
System.String |
lockName |
|
Overrides
|
Improve this Doc
View Source
MakeLock(String)
Declaration
public override Lock MakeLock(string lockName)
Parameters
Type |
Name |
Description |
System.String |
lockName |
|
Returns
Overrides
See Also