Known Direct Subclasses
|
Class Overview
Base class for file system based locking implementation.
Summary
Fields |
protected
File |
lockDir |
Directory for the lock files. |
Protected Methods |
final
void
|
setLockDir(File lockDir)
Set the lock directory.
|
Fields
protected
File
lockDir
Directory for the lock files.
Public Constructors
Public Methods
public
File
getLockDir
()
Retrieve the lock directory.
Protected Methods
protected
final
void
setLockDir
(File lockDir)
Set the lock directory. This method can be only called
once to initialize the lock directory. It is used by FSDirectory
to set the lock directory to itsself.
Subclasses can also use this method to set the directory
in the constructor.