aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore/src/vespa/searchcore/proton/persistenceengine/ipersistenceengineowner.h
blob: 9a46e0a75cac927ea0e7784774ddf6edaf33d05f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

#pragma once

#include <vespa/document/bucket/bucketspace.h>

namespace storage::spi { class ClusterState; }

namespace proton {

class IPersistenceEngineOwner
{
public:
    virtual ~IPersistenceEngineOwner() = default;
    virtual void
    setClusterState(document::BucketSpace bucketSpace, const storage::spi::ClusterState &calc) = 0;
};

} // namespace proton