#include <derecho/mutils-serialization/SerializationSupport.hpp>
#include <derecho/persistent/HLC.hpp>
#include <derecho/persistent/Persistent.hpp>
#include <derecho/persistent/detail/util.hpp>
#include <iostream>
#include <signal.h>
#include <spdlog/spdlog.h>
#include <stdlib.h>
#include <string.h>
#include <sys/mman.h>
#include <time.h>
Go to the source code of this file.
Classes | |
class | X |
class | ReplicatedT |
class | VariableBytes |
class | IntegerWithDelta |
Macros | |
#define | MAX_VB_SIZE (1ull << 30) |
#define | LOGTAIL_FILE "logtail.ser" |
Functions | |
void | sig_handler (int num) |
Persistent< X > | px1 ([]() { return std::make_unique< X >();}, nullptr, &pr) |
Persistent< VariableBytes > | npx ([]() { return std::make_unique< VariableBytes >();}, nullptr, &pr) |
Persistent< IntegerWithDelta > | dx ([]() { return std::make_unique< IntegerWithDelta >();}, nullptr, &pr) |
template<typename OT , StorageType st = ST_FILE> | |
void | listvar (Persistent< OT, st > &var) |
int | main (int argc, char **argv) |
Variables | |
PersistentRegistry | pr (nullptr, typeid(ReplicatedT), 123, 321) |
Persistent< VariableBytes > | npx_logtail ([]() { return std::make_unique< VariableBytes >();}) |
Volatile< X > | px2 ([]() { return std::make_unique< X >();}) |
#define LOGTAIL_FILE "logtail.ser" |
Persistent<IntegerWithDelta> dx | ( | [] () { return std::make_unique< IntegerWithDelta >();} | , |
nullptr | , | ||
& | pr | ||
) |
void listvar | ( | Persistent< OT, st > & | var | ) |
Persistent<VariableBytes> npx | ( | [] () { return std::make_unique< VariableBytes >();} | , |
nullptr | , | ||
& | pr | ||
) |
Persistent<X> px1 | ( | [] () { return std::make_unique< X >();} | , |
nullptr | , | ||
& | pr | ||
) |
Persistent<VariableBytes> npx_logtail([]() { return std::make_unique< VariableBytes >();}) |
PersistentRegistry pr(nullptr, typeid(ReplicatedT), 123, 321) |