diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2017-07-31 15:15:02 +0200 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2017-08-01 15:06:09 +0200 |
commit | d789ce2f41e05ad03d480bfff29b5004013ffd27 (patch) | |
tree | b91fc9361eb094ec769e41bf38ab4eafb55bbd2d /searchcorespi/src | |
parent | 18ca33882146177905d6fab574a2636cf4707332 (diff) |
- Use a dedicated thread for writing to summarystore.
- Use the attribute threads for doing the expensive applyTo.
- Initialize summary flush target in summary thread.
- Sync summary thread when syncing attribute threads.
Diffstat (limited to 'searchcorespi/src')
-rw-r--r-- | searchcorespi/src/vespa/searchcorespi/index/ithreadingservice.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/searchcorespi/src/vespa/searchcorespi/index/ithreadingservice.h b/searchcorespi/src/vespa/searchcorespi/index/ithreadingservice.h index dfd0b208178..65dd8cc1f3f 100644 --- a/searchcorespi/src/vespa/searchcorespi/index/ithreadingservice.h +++ b/searchcorespi/src/vespa/searchcorespi/index/ithreadingservice.h @@ -54,20 +54,11 @@ struct IThreadingService : public vespalib::Syncable IThreadingService() = default; virtual ~IThreadingService() {} - /** - * Returns a reference to the master write thread. - */ virtual IThreadService &master() = 0; - - /** - * Returns a reference to the index write thread. - */ virtual IThreadService &index() = 0; - + virtual IThreadService &summary() = 0; virtual search::ISequencedTaskExecutor &indexFieldInverter() = 0; - virtual search::ISequencedTaskExecutor &indexFieldWriter() = 0; - virtual search::ISequencedTaskExecutor &attributeFieldWriter() = 0; }; |