Overload List

  NameDescription
Public methodSimpleFSLockFactory()()()()
Create a SimpleFSLockFactory instance, with null (unset) lock directory. When you pass this factory to a {@link FSDirectory} subclass, the lock directory is automatically set to the directory itsself. Be sure to create one instance for each directory your create!
Public methodSimpleFSLockFactory(DirectoryInfo)
Instantiate using the provided directory (as a File instance).
Public methodSimpleFSLockFactory(FileInfo) Obsolete.
Instantiate using the provided directory (as a File instance).
Public methodSimpleFSLockFactory(String)
Instantiate using the provided directory name (String).

See Also