Set the lock directory. This method can be only called
once to initialize the lock directory. It is used by {@link FSDirectory}
to set the lock directory to itsself.
Subclasses can also use this method to set the directory
in the constructor.
Namespace: Lucene.Net.StoreAssembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
C# |
---|
protected internal virtual void SetLockDir( DirectoryInfo lockDir ) |
Visual Basic |
---|
Protected Friend Overridable Sub SetLockDir ( _ lockDir As DirectoryInfo _ ) |
Visual C++ |
---|
protected public: virtual void SetLockDir( DirectoryInfo^ lockDir ) |
Parameters
- lockDir
- Type: System.IO..::..DirectoryInfo
[Missing <param name="lockDir"/> documentation for "M:Lucene.Net.Store.FSLockFactory.SetLockDir(System.IO.DirectoryInfo)"]