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

#include "iflushtarget.h"

namespace searchcorespi {

IFlushTarget::IFlushTarget(const vespalib::string &name) noexcept
    : IFlushTarget(name, Type::OTHER, Component::OTHER)
{ }

IFlushTarget::IFlushTarget(const vespalib::string &name, const Type &type, const Component &component) noexcept
    : _name(name),
      _type(type),
      _component(component)
{ }

IFlushTarget::~IFlushTarget() = default;

LeafFlushTarget::LeafFlushTarget(const vespalib::string &name, const Type &type, const Component &component) noexcept
    : IFlushTarget(name, type, component)
{}

}