public abstract class FSLockFactory extends LockFactory
Modifier and Type | Field and Description |
---|---|
protected java.io.File |
lockDir
Directory for the lock files.
|
lockPrefix
Constructor and Description |
---|
FSLockFactory() |
Modifier and Type | Method and Description |
---|---|
java.io.File |
getLockDir()
Retrieve the lock directory.
|
protected void |
setLockDir(java.io.File lockDir)
Set the lock directory.
|
clearLock, getLockPrefix, makeLock, setLockPrefix
protected final void setLockDir(java.io.File lockDir)
FSDirectory
to set the lock directory to itself.
Subclasses can also use this method to set the directory
in the constructor.public java.io.File getLockDir()
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.