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 itself. Be sure to create one instance for each directory
your create!
Declaration
public SimpleFSLockFactory()
SimpleFSLockFactory(DirectoryInfo)
Instantiate using the provided directory (as a
Declaration
public SimpleFSLockFactory(DirectoryInfo lockDir)
Parameters
Type | Name | Description |
---|---|---|
DirectoryInfo | lockDir | where lock files should be created. |
SimpleFSLockFactory(String)
Instantiate using the provided directory name (
Declaration
public SimpleFSLockFactory(string lockDirName)
Parameters
Type | Name | Description |
---|---|---|
System.String | lockDirName | where lock files should be created. |