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

#pragma once

#include <vespa/persistence/spi/abstractpersistenceprovider.h>

namespace proton
{

class IPersistenceEngineOwner
{
public:
    virtual
    ~IPersistenceEngineOwner()
    {
    }

    virtual void
    setClusterState(document::BucketSpace bucketSpace, const storage::spi::ClusterState &calc) = 0;
};

} // namespace proton