aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore/src/vespa/searchcorespi/flush/flushtask.h
blob: 189945941616c77e07f5445563e8bfb47801d58f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once

#include <vespa/vespalib/util/executor.h>
#include <vespa/searchlib/common/serialnum.h>

namespace searchcorespi {

class FlushTask : public vespalib::Executor::Task
{
public:
    using UP = std::unique_ptr<FlushTask>;
    
    virtual search::SerialNum getFlushSerial() const = 0;
};

} // namespace searchcorespi