blob: fefe945973ae7a1e5486405155ea858df92ed419 (
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 Yahoo. 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
|