Use this {@link LockFactory} to disable locking entirely. This LockFactory is used when you call {@link FSDirectory#setDisableLocks}. Only one instance of this lock is created. You should call {@link #GetNoLockFactory()} to get the instance.

Namespace: Lucene.Net.Store
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
public class NoLockFactory : LockFactory
Visual Basic
Public Class NoLockFactory _
	Inherits LockFactory
Visual C++
public ref class NoLockFactory : public LockFactory

Inheritance Hierarchy

System..::..Object
  Lucene.Net.Store..::..LockFactory
    Lucene.Net.Store..::..NoLockFactory

See Also