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