aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore/src/vespa/searchcorespi/index/indexmaintainercontext.cpp
blob: efd7827fc3da6e614223fb21e06b9283835358b9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

#include "indexmaintainercontext.h"

using search::common::FileHeaderContext;
using search::TuneFileAttributes;
using searchcorespi::IIndexManager;

namespace searchcorespi::index {

IndexMaintainerContext::IndexMaintainerContext(IThreadingService &threadingService,
                                               IIndexManager::Reconfigurer &reconfigurer,
                                               const FileHeaderContext &fileHeaderContext,
                                               vespalib::Executor & warmupExecutor)
    : _threadingService(threadingService),
      _reconfigurer(reconfigurer),
      _fileHeaderContext(fileHeaderContext),
      _warmupExecutor(warmupExecutor)
{
}

}