aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore/src/vespa/searchcore/proton/persistenceengine/ipersistenceengineowner.h
blob: bd94199341cc0f0cbab45bac47d94aa2ac625cca (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright Vespa.ai. 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