Class FSLockFactory
Base class for file system based locking implementation.
Inherited Members
Namespace: Lucene.Net.Store
Assembly: Lucene.Net.dll
Syntax
public abstract class FSLockFactory : LockFactory
Fields
| Improve this Doc View Sourcem_lockDir
Directory for the lock files.
Declaration
protected DirectoryInfo m_lockDir
Field Value
Type | Description |
---|---|
DirectoryInfo |
Properties
| Improve this Doc View SourceLockDir
Gets the lock directory.
Declaration
public DirectoryInfo LockDir { get; }
Property Value
Type | Description |
---|---|
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 |
---|---|---|
DirectoryInfo | lockDir |
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |