blob: d3bace9ddc4382a1e2771e7e3c64a134ac895e6b (
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 Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include <memory>
namespace storage {
class StorageLink;
/*
* Interface class for building a storage chain.
*/
class IStorageChainBuilder
{
public:
virtual ~IStorageChainBuilder() = default;
virtual void add(std::unique_ptr<StorageLink> link) = 0;
virtual std::unique_ptr<StorageLink> build() && = 0;
};
}
|