Derecho  0.9
Distributed systems toolkit for RDMA
Namespaces | Macros | Functions
PersistNoLog_impl.hpp File Reference
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.
 

Macros

#define _NOLOG_OBJECT_DIR_   ((storageType == ST_MEM) ? getPersRamdiskPath().c_str() : getPersFilePath().c_str())
 
#define _NOLOG_OBJECT_NAME_   ((object_name == nullptr) ? typeid(ObjectType).name() : object_name)
 

Functions

template<typename ObjectType , StorageType storageType>
void persistent::saveNoLogObjectInFile (ObjectType &obj, const char *object_name) noexcept(false)
 save object in file More...
 
template<typename ObjectType , StorageType storageType>
std::unique_ptr< ObjectType > persistent::loadNoLogObjectFromFile (const char *object_name, mutils::DeserializationManager *dm=nullptr) noexcept(false)
 load data from file More...
 

Macro Definition Documentation

◆ _NOLOG_OBJECT_DIR_

#define _NOLOG_OBJECT_DIR_   ((storageType == ST_MEM) ? getPersRamdiskPath().c_str() : getPersFilePath().c_str())

Definition at line 4 of file PersistNoLog_impl.hpp.

◆ _NOLOG_OBJECT_NAME_

#define _NOLOG_OBJECT_NAME_   ((object_name == nullptr) ? typeid(ObjectType).name() : object_name)

Definition at line 5 of file PersistNoLog_impl.hpp.