CCF
Loading...
Searching...
No Matches
snapshot_status.h
Go to the documentation of this file.
1// Copyright (c) Microsoft Corporation. All rights reserved.
2// Licensed under the Apache 2.0 License.
3#pragma once
4
5#include "ccf/ds/json.h"
6#include "ccf/service/map.h"
7#include "kv/kv_types.h"
8
9namespace ccf
10{
12 {
17 uint64_t timestamp = 0;
18 };
19
22
25 namespace Tables
26 {
27 static constexpr auto SNAPSHOT_STATUS =
28 "public:ccf.internal.snapshot_status";
29 static constexpr auto SNAPSHOT_CREATE =
30 "public:ccf.internal.snapshot_create";
31 }
32}
Definition value.h:32
Definition unit_value.h:22
#define DECLARE_JSON_REQUIRED_FIELDS(TYPE,...)
Definition json.h:736
#define DECLARE_JSON_TYPE(TYPE)
Definition json.h:685
uint64_t Version
Definition version.h:10
Definition app_interface.h:13
ccf::kv::UnitValue< ccf::kv::serialisers::ZeroBlitUnitCreator > ServiceUnit
Definition map.h:38
Definition snapshot_status.h:12
ccf::kv::Version version
Sequence number of the latest globally committed snapshot baseline.
Definition snapshot_status.h:14
uint64_t timestamp
Definition snapshot_status.h:17