blob: ae8d21decb1d53e4cb88c32318e4ecf93b7ef8c5 (
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 <vespa/searchlib/common/serialnum.h>
namespace proton {
/**
* Interface defining the communication needed with the owner of the
* feed handler.
*/
struct IFeedHandlerOwner {
virtual ~IFeedHandlerOwner() {}
virtual void onTransactionLogReplayDone() = 0;
virtual void enterRedoReprocessState() = 0;
virtual void onPerformPrune(search::SerialNum flushedSerial) = 0;
virtual bool getAllowPrune() const = 0;
};
} // namespace proton
|