blob: 19f118aff949fc2555fd4dbdf648019e974b3722 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include "i_operation_storer.h"
#include <vespa/searchlib/common/serialnum.h>
namespace proton {
/**
* Interface for writing to the TransactionLogServer.
*/
struct TlsWriter : public IOperationStorer {
virtual ~TlsWriter() = default;
virtual bool erase(search::SerialNum oldest_to_keep) = 0;
virtual search::SerialNum sync(search::SerialNum syncTo) = 0;
};
}
|