Class NoLockFactory
Use this LockFactory to disable locking entirely. Only one instance of this lock is created. You should call GetNoLockFactory() to get the instance.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Lucene.Net.Store
Assembly: Lucene.Net.dll
Syntax
public class NoLockFactory : LockFactory
Methods
| Improve this Doc View SourceClearLock(String)
Declaration
public override void ClearLock(string lockName)
Parameters
Type | Name | Description |
---|---|---|
System.String | lockName |
Overrides
| Improve this Doc View SourceGetNoLockFactory()
Declaration
public static NoLockFactory GetNoLockFactory()
Returns
Type | Description |
---|---|
NoLockFactory |
MakeLock(String)
Declaration
public override Lock MakeLock(string lockName)
Parameters
Type | Name | Description |
---|---|---|
System.String | lockName |
Returns
Type | Description |
---|---|
Lock |