blob: 62874ce216f8c68bb0a158a1a2152bb2af689863 (
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
24
25
26
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
namespace document { class BucketId; }
namespace proton {
/**
* Interface class used by a registered listener to get notifications about
* bucket frozenness changes.
*/
class IBucketFreezeListener
{
public:
virtual ~IBucketFreezeListener() {}
/**
* Signal that the given bucket has been thawed.
* A thawed bucket can be considered for moving.
*/
virtual void notifyThawedBucket(const document::BucketId &bucket) = 0;
};
} // namespace proton
|