1 #ifndef __GEMFIRE_CACHEFACTORY_H__ 2 #define __GEMFIRE_CACHEFACTORY_H__ 11 #include "gfcpp_globals.hpp" 21 #define DEFAULT_POOL_NAME "default_gemfireClientPool" 25 class CppCacheLibrary;
79 const char* cacheXml = 0,
const CacheAttributesPtr& attrs = NULLPTR,
bool ignorePdxUnreadFields =
false,
bool readPdxSerialized =
false);
141 static const char* getVersion();
144 static const char* getProductDescription();
172 CacheFactoryPtr setLoadConditioningInterval(
int loadConditioningInterval);
201 CacheFactoryPtr setThreadLocalConnections(
bool threadLocalConnections);
285 CacheFactoryPtr setUpdateLocatorListInterval(
long updateLocatorListInterval);
368 CacheFactoryPtr setSubscriptionMessageTrackingTimeout(
int messageTrackingTimeout);
392 CacheFactoryPtr setMultiuserAuthentication(
bool multiuserAuthentication);
463 bool ignorePdxUnreadFields;
464 bool pdxReadSerialized;
468 static void create_(
const char* name,
DistributedSystemPtr& system,
const char* id_data,
CachePtr& cptr,
bool ignorePdxUnreadFields,
bool readPdxSerialized);
477 static CachePtr getAnyInstance(
bool throwException);
483 static PoolPtr createOrGetDefaultPool();
484 static void* m_cacheMap;
486 static void cleanup();
488 friend class CppCacheLibrary;
489 friend class RegionFactory;
490 friend class RegionXmlCreation;
491 friend class CacheXmlCreation;
495 #endif //ifndef __GEMFIRE_CACHEFACTORY_H__ Top level class for configuring and using GemFire on a client.This should be called once to create Ca...
Definition: CacheFactory.hpp:33
This namespace contains all the GemFire C++ API classes, enumerations and globals.
Definition: Assert.hpp:19
GfErrType
Error codes returned by GemFire C++ interface functions.
Definition: gf_base.hpp:220
#define CPPCACHE_EXPORT
Defines a GemFire CPPCACHE export.
Definition: gf_base.hpp:51
This abstract base class is the base class of all user objects that have the shared capability of ref...
Definition: SharedBase.hpp:31
Defines a reference counted shared pointer.
Definition: SharedPtr.hpp:35