Go to the source code of this file.
|
| | persistent |
| | This file include all common types internal to derecho and not necessarily being known by a client program.
|
| |
|
| template<typename int_type > |
| version_t | persistent::combine_int32s (const int_type high_bits, const int_type low_bits) |
| | Helper function for creating Persistent version numbers out of MulticastGroup sequence numbers and View IDs. More...
|
| |
| template<typename int_type > |
| std::pair< int_type, int_type > | persistent::unpack_version (const version_t packed_int) |
| | Helper function for unpacking a Persistent version number into two signed or unsigned int32 values. More...
|
| |
| template<typename ObjectType , StorageType storageType> |
| void | persistent::saveObject (ObjectType &obj, const char *object_name=nullptr) noexcept(false) |
| | saveObject() saves a serializable object More...
|
| |
| template<typename ObjectType , StorageType storageType> |
| std::unique_ptr< ObjectType > | persistent::loadObject (const char *object_name=nullptr) noexcept(false) |
| | loadObject() loads a serializable object from a persistent store More...
|
| |
| template<StorageType storageType> |
| const std::enable_if<(storageType==ST_FILE||storageType==ST_MEM), version_t >::type | persistent::getMinimumLatestPersistedVersion (const std::type_index &subgroup_type, uint32_t subgroup_index, uint32_t shard_num) |
| | get the minmum latest persisted version for a Replicated<T> identified by More...
|
| |