Class FSLockFactory
Base class for file system based locking implementation.
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)
    
  Namespace: Lucene.Net.Store
Assembly: Lucene.Net.dll
Syntax
public abstract class FSLockFactory : LockFactoryFields
| Improve this Doc View Sourcem_lockDir
Directory for the lock files.
Declaration
protected DirectoryInfo m_lockDirField Value
| Type | Description | 
|---|---|
| System.IO.DirectoryInfo | 
Properties
| Improve this Doc View SourceLockDir
Gets the lock directory.
Declaration
public DirectoryInfo LockDir { get; }Property Value
| Type | Description | 
|---|---|
| System.IO.DirectoryInfo | 
Methods
| Improve this Doc View SourceSetLockDir(DirectoryInfo)
Set the lock directory. This property can be only called once to initialize the lock directory. It is used by FSDirectory to set the lock directory to itself. Subclasses can also use this property to set the directory in the constructor.
Declaration
protected void SetLockDir(DirectoryInfo lockDir)Parameters
| Type | Name | Description | 
|---|---|---|
| System.IO.DirectoryInfo | lockDir | 
ToString()
Declaration
public override string ToString()Returns
| Type | Description | 
|---|---|
| System.String | 
Overrides
System.Object.ToString()