Lucene++ - a full-featured, c++ search engine
API Documentation
Go to the documentation of this file.
23 static const int32_t LOCK_OBTAIN_WAIT_FOREVER;
31 virtual bool obtain() = 0;
34 virtual void release() = 0;
38 virtual bool isLocked() = 0;
45 bool obtain(int32_t lockWaitTimeout);
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
An interprocess mutex lock.
Definition: Lock.h:16
Definition: AbstractAllTermDocs.h:12
Base class for all Lucene classes.
Definition: LuceneObject.h:31
static const int32_t LOCK_POLL_INTERVAL
Pass this value to obtain(int64_t) to try forever to obtain the lock.
Definition: Lock.h:26
clucene.sourceforge.net