This attribute determines whether data is cached in this region. For example, you might choose to configure the distributed system as a simple messaging service where clients run without a cache.

Note: You can configure the most common of these options with GemFire's predefined region attributes. See RegionShortcuts and the Javadocs for RegionShortcut.

If CachingEnabled is false (no caching), an IllegalStateException is thrown if any of these attributes are set:

The following declaration enables caching for the region:

<region-attributes caching-enabled="true">