Constructor SimpleFSLockFactory
SimpleFSLockFactory()
Create a SimpleFSLockFactory instance, with null (unset) lock directory. When you pass this factory to a FSDirectory subclass, the lock directory is automatically set to the directory itsself. Be sure to create one instance for each directory your create!
Declaration
public SimpleFSLockFactory()
SimpleFSLockFactory(IO.DirectoryInfo)
Instantiate using the provided directory (as a File instance).
Declaration
public SimpleFSLockFactory(IO.DirectoryInfo lockDir)
Parameters
Type | Name | Description |
---|---|---|
System.IO.DirectoryInfo | lockDir | where lock files should be created. |
SimpleFSLockFactory(String)
Instantiate using the provided directory name (String).
Declaration
public SimpleFSLockFactory(String lockDirName)
Parameters
Type | Name | Description |
---|---|---|
System.String | lockDirName | where lock files should be created. |