Derecho  0.9
Distributed systems toolkit for RDMA
Namespaces | Typedefs
PersistentTypenames.hpp File Reference

This file defines some type aliases used by the Persistence library. More...

#include <cstdint>
#include <functional>
Include dependency graph for PersistentTypenames.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 persistent
 This file include all common types internal to derecho and not necessarily being known by a client program.
 

Typedefs

using persistent::version_t = int64_t
 
using persistent::VersionFunc = std::function< void(const version_t &, const HLC &)>
 
using persistent::PersistFunc = std::function< const version_t(void)>
 
using persistent::TrimFunc = std::function< void(const version_t &)>
 
using persistent::LatestPersistedGetterFunc = std::function< const version_t(void)>
 
using persistent::TruncateFunc = std::function< void(const int64_t &)>
 

Detailed Description

This file defines some type aliases used by the Persistence library.

It's separated out from Persistence.hpp so that other Derecho components can see these definitions without needing to compile all of Persistence.hpp.

Definition in file PersistentTypenames.hpp.