Encapsulates a concrete region of cached data.
Namespace: GemStone.GemFire.Cache
Assembly: GemStone.GemFire.Cache (in GemStone.GemFire.Cache.dll)
Version: 2.5.0.1
Syntax
| C# |
|---|
public class Region : SBWrap<gemfire::Region> |
| Visual Basic (Declaration) |
|---|
Public Class Region _ Inherits SBWrap<gemfire::Region> |
| Visual C++ |
|---|
public ref class Region : public SBWrap<gemfire::Region> |
Remarks
This class manages subregions and cached data. Each region
can contain multiple subregions and entries for data.
Regions provide a hierachical name space
within the cache. Also, a region can be used to group cached
objects for management purposes.
Entries managed by the region are key-value pairs. A set of region attributes
is associated with the region when it is created.
@cacheserver
The region attributes govern
the distribution behavior of the region. Important region attributes that the
application developer needs to be aware of are Scope and Mirroring.
@endcacheserver
The Region interface basically contains two set of APIs: Region management
APIs and (potentially) distributed operations on entries. Non-distributed
operations on entries are provided by RegionEntry.
Each Cache defines regions called the root regions.
User applications can use the root regions to create subregions
for isolated name spaces and object grouping.
A region's name can be any string, except that it must not contain
the region name separator, a forward slash (/).
Regions can be referenced by a relative path name from any region
higher in the hierarchy in GetSubRegion(String). You can get the relative
path from the root region with FullPath. The name separator
is used to concatenate all the region names together from the root, starting
with the root's subregions.
Inheritance Hierarchy
System..::Object
GemStone.GemFire.Cache.Internal..::SBWrap<gemfire::Region>
GemStone.GemFire.Cache..::Region
GemStone.GemFire.Cache.Internal..::SBWrap<gemfire::Region>
GemStone.GemFire.Cache..::Region
See Also
Region Members
GemStone.GemFire.Cache Namespace