Constructor NativeFSLockFactory
NativeFSLockFactory()
Create a NativeFSLockFactory 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 NativeFSLockFactory()
NativeFSLockFactory(String)
Create a NativeFSLockFactory instance, storing lock
files into the specified lockDirName
Declaration
public NativeFSLockFactory(string lockDirName)
Parameters
Type | Name | Description |
---|---|---|
System.String | lockDirName | where lock files are created. |
NativeFSLockFactory(DirectoryInfo)
Create a NativeFSLockFactory instance, storing lock
files into the specified lockDir
Declaration
public NativeFSLockFactory(DirectoryInfo lockDir)
Parameters
Type | Name | Description |
---|---|---|
DirectoryInfo | lockDir | where lock files are created. |