VMware GemFire Native C++ Reference
9.2.4
|
Go to the documentation of this file.
3 #ifndef GEODE_EXPIRATIONACTION_H_
4 #define GEODE_EXPIRATIONACTION_H_
23 #include "geode_globals.hpp"
61 static Action fromName(
const char* name);
68 return (type == INVALIDATE);
76 return (type == LOCAL_INVALIDATE);
88 return (type == LOCAL_DESTROY);
95 return (type == LOCAL_INVALIDATE) || (type == LOCAL_DESTROY);
102 return (type == INVALIDATE) || (type == DESTROY);
106 static const char* fromOrdinal(
const int ordinal);
111 static char* names[];
117 #endif // GEODE_EXPIRATIONACTION_H_
Each enum represents a predefined RegionAttributes in a {}.
Definition: Assert.hpp:31
When the region or cached object expires, it is destroyed.
Definition: ExpirationAction.hpp:50
Action
Definition: ExpirationAction.hpp:43
static bool isLocalInvalidate(const Action type)
Returns whether this is the action for local invalidate.
Definition: ExpirationAction.hpp:75
#define CPPCACHE_EXPORT
Defines a Geode CPPCACHE export.
Definition: geode_base.hpp:58
static bool isLocalDestroy(const Action type)
Returns whether this is the action for local destroy.
Definition: ExpirationAction.hpp:87
static bool isLocal(const Action type)
Returns whether this action is local.
Definition: ExpirationAction.hpp:94
static bool isDistributed(const Action type)
Returns whether this action is distributed.
Definition: ExpirationAction.hpp:101
When expired, invalidated locally only.
Definition: ExpirationAction.hpp:47
static bool isInvalidate(const Action type)
Returns whether this is the action for distributed invalidate.
Definition: ExpirationAction.hpp:67
Definition: ExpirationAction.hpp:38
When expired, destroyed locally only.
Definition: ExpirationAction.hpp:52
static bool isDestroy(const Action type)
Returns whether this is the action for distributed destroy.
Definition: ExpirationAction.hpp:82
Pivotal GemFire C++ Cache API Documentation