GemStone::GemFire::Cache::RegionEntry Class Reference


Detailed Description

An object in a region that represents an entry, that is, 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.

Call IsDestroyed to see if an entry has already been destroyed.

Properties

bool IsDestroyed [get]
GemStone::GemFire::Cache::ICacheableKey^  Key [get]
Region^  Region [get]
CacheStatistics^  Statistics [get]
IGFSerializable^  Value [get]


Property Documentation

bool GemStone::GemFire::Cache::RegionEntry::IsDestroyed [get]

True if this entry has been destroyed.

Does not throw a EntryDestroyedException if this entry has been destroyed.

Returns:
true if this entry has been destroyed
Exceptions:
CacheClosedException if the cache is closed at the time of invocation

GemStone:: GemFire:: Cache:: ICacheableKey^ GemStone::GemFire::Cache::RegionEntry::Key [get]

Returns the key for this entry.

Returns:
the key for this entry
Exceptions:
CacheClosedException if the cache is closed at the time of invocation
EntryDestroyedException if the entry has been destroyed

Region^ GemStone::GemFire::Cache::RegionEntry::Region [get]

Returns the region that contains this entry.

Returns:
the region that contains this entry
Exceptions:
CacheClosedException if the cache is closed at the time of invocation
EntryDestroyedException if the entry has been destroyed

CacheStatistics^ GemStone::GemFire::Cache::RegionEntry::Statistics [get]

Returns the statistics for this entry.

Returns:
the CacheStatistics for this entry
Exceptions:
StatisticsDisabledException if statistics have been disabled for this region

IGFSerializable^ GemStone::GemFire::Cache::RegionEntry::Value [get]

Returns the value of this entry in the local cache. Does not invoke an ICacheLoader, does not do a netSearch, netLoad, etc.

Returns:
the value, or null if this entry is invalid -- see IsDestroyed
Exceptions:
CacheClosedException if the cache is closed at the time of invocation
EntryDestroyedException if the entry has been destroyed


GemFire C++ Cache .NET API Documentation