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_