1 #ifndef __GEMFIRE_CACHE_H__ 2 #define __GEMFIRE_CACHE_H__ 10 #include "gfcpp_globals.hpp" 18 #include "RegionShortcut.hpp" 20 #include "InternalCacheTransactionManager2PC.hpp" 29 class CacheRegionHelper;
65 virtual void initializeDeclarativeCache(
const char* cacheXml);
70 virtual const char* getName()
const;
80 virtual bool isClosed()
const ;
108 virtual void close(
bool keepalive);
134 virtual RegionPtr createRegion(
const char* name,
145 virtual RegionPtr getRegion(
const char* path);
174 virtual void readyForEvents();
210 virtual bool getPdxIgnoreUnreadFields();
215 virtual bool getPdxReadSerialized();
236 Cache(
const char* name,
DistributedSystemPtr sys,
const char* id_data,
bool ignorePdxUnreadFields,
bool readPdxSerialized );
237 CacheImpl* m_cacheImpl;
245 static bool isPoolInMultiuserMode(
RegionPtr regionPtr);
249 friend class CacheRegionHelper;
252 friend class CacheXmlCreation;
253 friend class RegionXmlCreation;
258 #endif //ifndef __GEMFIRE_CACHE_H__ Top level class for configuring and using GemFire on a client.This should be called once to create Ca...
Definition: CacheFactory.hpp:33
GemFireCache represents the singleton cache that must be created in order to connect to Gemfire serve...
Definition: GemFireCache.hpp:33
Vector template type class.
Definition: VectorT.hpp:24
A pool of connections to connect from a client to a set of GemFire Cache Servers. ...
Definition: Pool.hpp:38
This namespace contains all the GemFire C++ API classes, enumerations and globals.
Definition: Assert.hpp:19
entry point for function execution
Definition: FunctionService.hpp:37
RegionShortcut
Definition: RegionShortcut.hpp:24
#define CPPCACHE_EXPORT
Defines a GemFire CPPCACHE export.
Definition: gf_base.hpp:51
Cache are obtained from create method on the CacheFactory#create class.
Definition: Cache.hpp:44
Defines a reference counted shared pointer.
Definition: SharedPtr.hpp:35