blob: 1dddd35a56d596f9c3ddee7a6fb2829570a29bc5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
namespace proton {
class IClusterStateChangedHandler;
/**
* Interface used to request notification when cluster state has changed.
*/
class IClusterStateChangedNotifier
{
public:
virtual ~IClusterStateChangedNotifier() = default;
virtual void addClusterStateChangedHandler(IClusterStateChangedHandler *handler) = 0;
virtual void removeClusterStateChangedHandler(IClusterStateChangedHandler *handler) = 0;
};
}
|