3 #ifndef GEODE_PERSISTENCEMANAGER_H_ 4 #define GEODE_PERSISTENCEMANAGER_H_ 22 #include "geode_globals.hpp" 33 #define MAX_PAGE_COUNT "MaxPageCount" 34 #define PAGE_SIZE "PageSize" 35 #define PERSISTENCE_DIR "PersistenceDirectory" 41 typedef PersistenceManagerPtr (*getPersistenceManagerInstance)(
75 void*& PersistenceInfo) = 0;
82 virtual bool writeAll() = 0;
101 void*& PersistenceInfo) = 0;
107 virtual bool readAll() = 0;
116 virtual void destroy(
const CacheableKeyPtr& key,
void*& PersistenceInfo) = 0;
122 virtual void close() = 0;
140 #endif // GEODE_PERSISTENCEMANAGER_H_ const RegionPtr m_regionPtr
Region for this persistence manager.
Definition: PersistenceManager.hpp:134
Each enum represents a predefined RegionAttributes in a Cache.
Definition: Assert.hpp:31
#define CPPCACHE_EXPORT
Defines a Geode CPPCACHE export.
Definition: geode_base.hpp:58
PersistenceManager API for persistence and overflow.
Definition: PersistenceManager.hpp:52
This abstract base class is the base class of all user objects that have the shared capability of ref...
Definition: SharedBase.hpp:40
This namespace contains all the Geode C++ API classes, enumerations and globals.