3 #ifndef GEODE_CACHEFACTORY_H_ 4 #define GEODE_CACHEFACTORY_H_ 23 #include "geode_globals.hpp" 33 #define DEFAULT_POOL_NAME "default_geodeClientPool" 39 class CppCacheLibrary;
99 static const char* getVersion();
103 static const char* getProductDescription();
131 CacheFactoryPtr setLoadConditioningInterval(
int loadConditioningInterval);
162 CacheFactoryPtr setThreadLocalConnections(
bool threadLocalConnections);
258 CacheFactoryPtr setUpdateLocatorListInterval(
long updateLocatorListInterval);
358 int messageTrackingTimeout);
383 CacheFactoryPtr setMultiuserAuthentication(
bool multiuserAuthentication);
464 bool ignorePdxUnreadFields;
465 bool pdxReadSerialized;
470 const char* cacheXml = 0,
474 const char* id_data,
CachePtr& cptr,
475 bool ignorePdxUnreadFields,
bool readPdxSerialized);
484 static CachePtr getAnyInstance(
bool throwException);
490 static PoolPtr createOrGetDefaultPool();
491 static void* m_cacheMap;
493 static void cleanup();
494 static void handleXML(
CachePtr& cachePtr,
const char* cachexml,
496 friend class CppCacheLibrary;
497 friend class RegionFactory;
498 friend class RegionXmlCreation;
499 friend class CacheXmlCreation;
505 #endif // GEODE_CACHEFACTORY_H_ 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
GfErrType
Error codes returned by Geode C++ interface functions.
Definition: geode_base.hpp:182
Top level class for configuring and using Geode on a client.This should be called once to create Cach...
Definition: CacheFactory.hpp:48
Defines a reference counted shared pointer.
Definition: SharedPtr.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.