blob: 0563f291c2a72349c56ea006f76cee2b09cf325a (
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 <memory>
namespace storage::distributor {
class Operation;
class OperationStarter
{
public:
using Priority = uint8_t;
virtual ~OperationStarter() = default;
virtual bool start(const std::shared_ptr<Operation>& operation, Priority priority) = 0;
};
}
|