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.
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 SingleInstanceLockFactory : LockFactoryMethods
| 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 SourceMakeLock(String)
Declaration
public override Lock MakeLock(string lockName)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | lockName | 
Returns
| Type | Description | 
|---|---|
| Lock |