1 #ifndef __GEMFIRE_EXPIRATIONACTION_H__ 2 #define __GEMFIRE_EXPIRATIONACTION_H__ 11 #include "gfcpp_globals.hpp" 46 static Action fromName(
const char* name) ;
54 return (type==INVALIDATE);
63 return (type==LOCAL_INVALIDATE);
71 return (type==DESTROY);
79 return (type==LOCAL_DESTROY);
85 inline static bool isLocal(
const Action type)
87 return (type == LOCAL_INVALIDATE) || (type==LOCAL_DESTROY);
95 return (type == INVALIDATE) || (type==DESTROY);
99 static const char* fromOrdinal(
const int ordinal) ;
104 static char* names[] ;
107 #endif //ifndef __GEMFIRE_EXPIRATIONACTION_H__ static bool isInvalidate(const Action type)
Returns whether this is the action for distributed invalidate.
Definition: ExpirationAction.hpp:52
Action
Definition: ExpirationAction.hpp:29
static bool isLocal(const Action type)
Returns whether this action is local.
Definition: ExpirationAction.hpp:85
When expired, invalidated locally only.
Definition: ExpirationAction.hpp:33
static bool isLocalDestroy(const Action type)
Returns whether this is the action for local destroy.
Definition: ExpirationAction.hpp:77
When expired, destroyed locally only.
Definition: ExpirationAction.hpp:38
This namespace contains all the GemFire C++ API classes, enumerations and globals.
Definition: Assert.hpp:19
static bool isDestroy(const Action type)
Returns whether this is the action for distributed destroy.
Definition: ExpirationAction.hpp:69
static bool isDistributed(const Action type)
Returns whether this action is distributed.
Definition: ExpirationAction.hpp:93
#define CPPCACHE_EXPORT
Defines a GemFire CPPCACHE export.
Definition: gf_base.hpp:51
When the region or cached object expires, it is destroyed.
Definition: ExpirationAction.hpp:36
Enumerated type for expiration actions.
Definition: ExpirationAction.hpp:24
static bool isLocalInvalidate(const Action type)
Returns whether this is the action for local invalidate.
Definition: ExpirationAction.hpp:61