CLucene - a full-featured, c++ search engine
API Documentation
#include <LockFactory.h>
Public Member Functions | |
LockFactory () | |
virtual | ~LockFactory () |
void | setLockPrefix (TCHAR *lockPrefix) |
TCHAR * | getLockPrefix () |
virtual LuceneLock * | makeLock (const char *lockName)=0 |
virtual void | clearLock (const char *lockName)=0 |
Protected Attributes | |
TCHAR * | lockPrefix |
lucene::store::LockFactory::LockFactory | ( | ) |
virtual lucene::store::LockFactory::~LockFactory | ( | ) | [virtual] |
void lucene::store::LockFactory::setLockPrefix | ( | TCHAR * | lockPrefix | ) |
TCHAR* lucene::store::LockFactory::getLockPrefix | ( | ) |
virtual LuceneLock* lucene::store::LockFactory::makeLock | ( | const char * | lockName | ) | [pure virtual] |
Implemented in lucene::store::SingleInstanceLockFactory, lucene::store::NoLockFactory, and lucene::store::FSLockFactory.
virtual void lucene::store::LockFactory::clearLock | ( | const char * | lockName | ) | [pure virtual] |
Implemented in lucene::store::SingleInstanceLockFactory, lucene::store::NoLockFactory, and lucene::store::FSLockFactory.
TCHAR* lucene::store::LockFactory::lockPrefix [protected] |