aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore/src/vespa/searchcore/proton/test/threading_service_observer.cpp
blob: 55e1ea28b0412cf775a5b3dfb41b622ca879b99d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

#include "threading_service_observer.h"

namespace proton::test {

ThreadingServiceObserver::ThreadingServiceObserver(searchcorespi::index::IThreadingService &service)
    : _service(service),
      _master(_service.master()),
      _index(service.index()),
      _summary(service.summary()),
      _shared(service.shared()),
      _field_writer(_service.field_writer())
{
}

ThreadingServiceObserver::~ThreadingServiceObserver() = default;

}