3 #ifndef GEODE_CACHEATTRIBUTES_H_ 4 #define GEODE_CACHEATTRIBUTES_H_ 27 #include "geode_globals.hpp" 52 class CacheAttributesFactory;
54 _GF_PTR_DEF_(CacheAttributes, CacheAttributesPtr);
64 int getRedundancyLevel();
81 void setRedundancyLevel(
int redundancyLevel);
86 void setEndpoints(
char* endpoints);
92 int32_t compareStringAttribute(
char* attributeA,
char* attributeB)
const;
93 void copyStringAttribute(
char*& lhs,
const char* rhs);
95 int m_redundancyLevel;
99 friend class CacheAttributesFactory;
100 friend class CacheImpl;
108 #endif // GEODE_CACHEATTRIBUTES_H_ Defines attributes for configuring a cache.
Definition: CacheAttributes.hpp:56
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
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.