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
m_lockDir
Directory for the lock files.
Declaration
protected DirectoryInfo m_lockDir
Field Value
Type | Description |
---|---|
DirectoryInfo |
Properties
LockDir
Gets the lock directory.
Declaration
public DirectoryInfo LockDir { get; }
Property Value
Type | Description |
---|---|
DirectoryInfo |
Methods
SetLockDir(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()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | A string that represents the current object. |