blob: e9bb36a4a7926e08a1b528f0e3c0ba83dad06d96 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include "ibucketstatecalculator.h"
#include <memory>
namespace proton {
/**
* Interface used to notify when cluster state has changed.
*/
class IClusterStateChangedHandler
{
public:
virtual ~IClusterStateChangedHandler() = default;
virtual void notifyClusterStateChanged(const std::shared_ptr<IBucketStateCalculator> &newCalc) = 0;
};
}
|