Base class for all Lucene synchronised classes.
More...
#include <LuceneSync.h>
Public Member Functions |
virtual | ~LuceneSync () |
virtual SynchronizePtr | getSync () |
| Return this object synchronize lock.
|
virtual LuceneSignalPtr | getSignal () |
| Return this object signal.
|
virtual void | lock (int32_t timeout=0) |
| Lock this object using an optional timeout.
|
virtual void | unlock () |
| Unlock this object.
|
virtual bool | holdsLock () |
| Returns true if this object is currently locked by current thread.
|
virtual void | wait (int32_t timeout=0) |
| Wait for signal using an optional timeout.
|
virtual void | notifyAll () |
| Notify all threads waiting for signal.
|
Detailed Description
Base class for all Lucene synchronised classes.
Constructor & Destructor Documentation
virtual Lucene::LuceneSync::~LuceneSync |
( |
| ) |
|
|
virtual |
Member Function Documentation
Return this object signal.
Return this object synchronize lock.
virtual bool Lucene::LuceneSync::holdsLock |
( |
| ) |
|
|
virtual |
Returns true if this object is currently locked by current thread.
virtual void Lucene::LuceneSync::lock |
( |
int32_t |
timeout = 0 | ) |
|
|
virtual |
Lock this object using an optional timeout.
virtual void Lucene::LuceneSync::notifyAll |
( |
| ) |
|
|
virtual |
Notify all threads waiting for signal.
virtual void Lucene::LuceneSync::unlock |
( |
| ) |
|
|
virtual |
virtual void Lucene::LuceneSync::wait |
( |
int32_t |
timeout = 0 | ) |
|
|
virtual |
Field Documentation
The documentation for this class was generated from the following file: