blob: 130521b9592689779e7335cb045d47fb8fd22bb1 (
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
#include <vespa/document/base/globalid.h>
#include <vespa/persistence/spi/bucketinfo.h>
namespace proton::bucketdb {
/**
* Interface for aggregating bucket checksums.
**/
class ChecksumAggregator {
public:
enum class ChecksumType {LEGACY, XXHASH64};
using GlobalId = document::GlobalId;
using Timestamp = storage::spi::Timestamp;
using BucketChecksum = storage::spi::BucketChecksum;
};
}
|