Lucene++ - a full-featured, c++ search engine
API Documentation
Go to the documentation of this file.
7 #ifndef SIMPLEFSLOCKFACTORY_H
8 #define SIMPLEFSLOCKFACTORY_H
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
virtual ~SimpleFSLockFactory()
SimpleFSLockFactory(const String &lockDir)
Instantiate using the provided directory name.
boost::shared_ptr< Lock > LockPtr
Definition: LuceneTypes.h:496
virtual LockPtr makeLock(const String &lockName)
Return a new Lock instance identified by lockName.
Base class for file system based locking implementation.
Definition: FSLockFactory.h:15
Definition: AbstractAllTermDocs.h:12
Implements LockFactory using File#createNewFile().
Definition: SimpleFSLockFactory.h:17
SimpleFSLockFactory()
Create a SimpleFSLockFactory instance, with null (unset) lock directory. When you pass this factory t...
virtual void clearLock(const String &lockName)
Attempt to clear (forcefully unlock and remove) the specified lock.
clucene.sourceforge.net