public class SimpleFSLockFactory extends LockFactory
Implements {@link LockFactory} using {@link File#createNewFile()}. This is
currently the default LockFactory used for {@link FSDirectory} if no
LockFactory instance is otherwise provided.
Note that there are known problems with this locking implementation on NFS.
see
LockFactory
Fields Summary
private File
lockDir
Directory specified by org.apache.lucene.lockDir
system property. If that is not set, then java.io.tmpdir
system property is used.