VMware GemFire Native Client Cache Reference
9.0.6
|
An object in a Region that represents an entry, i.e., a key-value pair. More...
Inherits gemfire::SharedBase.
Public Member Functions | |
CacheableKeyPtr | getKey () |
Returns the key for this entry. More... | |
void | getRegion (RegionPtr ®ion) |
Returns the region that contains this entry. More... | |
void | getStatistics (CacheStatisticsPtr &csptr) |
Returns the statistics for this entry. More... | |
CacheablePtr | getValue () |
Returns the value of this entry in the local cache. More... | |
bool | isDestroyed () const |
Returns whether this entry has been destroyed. More... | |
void | preserveSB () const |
Atomically increment reference count. More... | |
int32_t | refCount () |
void | releaseSB () const |
Atomically decrement reference count, the SharedBase object is automatically deleted when its reference count goes to zero. More... | |
virtual | ~RegionEntry () |
destructor More... | |
An object in a Region that represents an entry, i.e., a key-value pair.
This object's operations are not distributed, do not acquire any locks, and do not affect CacheStatistics
.
Unless otherwise noted, all of these methods throw a CacheClosedException
if the Cache is closed at the time of invocation, or an EntryDestroyedException
if the entry has been destroyed.
|
virtual |
destructor
CacheableKeyPtr gemfire::RegionEntry::getKey | ( | ) |
Returns the key for this entry.
void gemfire::RegionEntry::getRegion | ( | RegionPtr & | region | ) |
Returns the region that contains this entry.
void gemfire::RegionEntry::getStatistics | ( | CacheStatisticsPtr & | csptr | ) |
Returns the statistics for this entry.
StatisticsDisabledException | if statistics have been disabled for this region |
CacheablePtr gemfire::RegionEntry::getValue | ( | ) |
Returns the value of this entry in the local cache.
Does not invoke a CacheLoader
,
NULLPTR
if this entry is invalid bool gemfire::RegionEntry::isDestroyed | ( | ) | const |
Returns whether this entry has been destroyed.
Does not throw a EntryDestroyedException
if this entry has been destroyed.
|
inherited |
Atomically increment reference count.
|
inlineinherited |
|
inherited |
Atomically decrement reference count, the SharedBase object is automatically deleted when its reference count goes to zero.