|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.lucene.store.LockFactory
org.apache.lucene.store.FSLockFactory
public abstract class FSLockFactory
Base class for file system based locking implementation.
| Field Summary | |
|---|---|
protected java.io.File |
lockDir
Directory for the lock files. |
| Fields inherited from class org.apache.lucene.store.LockFactory |
|---|
lockPrefix |
| Constructor Summary | |
|---|---|
FSLockFactory()
|
|
| Method Summary | |
|---|---|
java.io.File |
getLockDir()
Retrieve the lock directory. |
protected void |
setLockDir(java.io.File lockDir)
Set the lock directory. |
| Methods inherited from class org.apache.lucene.store.LockFactory |
|---|
clearLock, getLockPrefix, makeLock, setLockPrefix |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.io.File lockDir
| Constructor Detail |
|---|
public FSLockFactory()
| Method Detail |
|---|
protected final void setLockDir(java.io.File lockDir)
FSDirectory
to set the lock directory to itsself.
Subclasses can also use this method to set the directory
in the constructor.
public java.io.File getLockDir()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||