Used by DocumentsWriter to maintain per-thread state. We keep a separate Posting hash and other state for each thread and then merge postings hashes from all threads when writing the segment.
More...
#include <DocumentsWriterThreadState.h>
Used by DocumentsWriter to maintain per-thread state. We keep a separate Posting hash and other state for each thread and then merge postings hashes from all threads when writing the segment.
◆ DocumentsWriterThreadState()
Lucene::DocumentsWriterThreadState::DocumentsWriterThreadState |
( |
const DocumentsWriterPtr & |
docWriter | ) |
|
◆ ~DocumentsWriterThreadState()
virtual Lucene::DocumentsWriterThreadState::~DocumentsWriterThreadState |
( |
| ) |
|
|
virtual |
◆ _getClassName()
static String Lucene::DocumentsWriterThreadState::_getClassName |
( |
| ) |
|
|
inlinestatic |
◆ doAfterFlush()
void Lucene::DocumentsWriterThreadState::doAfterFlush |
( |
| ) |
|
◆ getClassName()
virtual String Lucene::DocumentsWriterThreadState::getClassName |
( |
| ) |
|
|
inlinevirtual |
◆ initialize()
virtual void Lucene::DocumentsWriterThreadState::initialize |
( |
| ) |
|
|
virtual |
Called directly after instantiation to create objects that depend on this object being fully constructed.
Reimplemented from Lucene::LuceneObject.
◆ shared_from_this()
◆ _docWriter
◆ consumer
◆ docState
DocStatePtr Lucene::DocumentsWriterThreadState::docState |
◆ doFlushAfter
bool Lucene::DocumentsWriterThreadState::doFlushAfter |
◆ isIdle
bool Lucene::DocumentsWriterThreadState::isIdle |
◆ numThreads
int32_t Lucene::DocumentsWriterThreadState::numThreads |
The documentation for this class was generated from the following file: