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

#pragma once

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

namespace proton {

class IBucketFreezer
{
public:
    virtual ~IBucketFreezer() {}
    virtual void freezeBucket(document::BucketId bucket) = 0;
    virtual void thawBucket(document::BucketId bucket) = 0;
};


} // namespace proton