org.apache.lucene.store
public class SimpleFSLockFactory extends LockFactory
See Also: LockFactory
| Constructor Summary | |
|---|---|
| SimpleFSLockFactory(File lockDir)
Instantiate using the provided directory (as a File instance). | |
| SimpleFSLockFactory(String lockDirName)
Instantiate using the provided directory name (String). | |
| Method Summary | |
|---|---|
| void | clearLock(String lockName) |
| Lock | makeLock(String lockName) |
Parameters: lockDir where lock files should be created.
Parameters: lockDirName where lock files should be created.