VMware GemFire Native Client C++ API Reference
|
VMware VMware GemFire Native C++ Reference 10.4.3
|
Loading...
Searching...
No Matches
PersistenceManager.hpp
Go to the documentation of this file.
PersistenceManager API for persistence and overflow.
Definition PersistenceManager.hpp:52
virtual bool readAll()=0
Reads all the values from the region.
static std::shared_ptr< PersistenceManager > getPersistenceManager()
Returns the current persistence manager.
std::shared_ptr< Region > m_regionPtr
Region for this persistence manager.
Definition PersistenceManager.hpp:135
virtual void init(const std::shared_ptr< Region > ®ion, const std::shared_ptr< Properties > &diskProperties)=0
This method gets called after an implementation object is created.
virtual void write(const std::shared_ptr< CacheableKey > &key, const std::shared_ptr< Cacheable > &value, std::shared_ptr< void > &persistenceInfo)=0
Writes a key, value pair of region to the disk.
virtual void close()=0
Closes the persistence manager instance.
virtual void destroy(const std::shared_ptr< CacheableKey > &key, const std::shared_ptr< void > &PersistenceInfo)=0
destroys the entry specified by the key in the argument.
virtual std::shared_ptr< Cacheable > read(const std::shared_ptr< CacheableKey > &key, const std::shared_ptr< void > &PersistenceInfo)=0
Reads the value for the key from the disk.
virtual bool writeAll()=0
Writes all the entries for a region.
Apache Geode C++ Cache API Documentation