LATEST VERSION: 8.2.8 - CHANGELOG
Pivotal GemFire® v8.2

Mutable and Immutable Region Attributes

Mutable and Immutable Region Attributes

Attributes that are immutable (fixed) after region creation govern storage location, data distribution, statistics, application plug-ins, and the configuration and management of the region's data hashmap.

This table lists the immutable attributes and their default settings.

Table 1. Immutable Region Attributes
Immutable Region Attribute Default Setting
See CachingEnabled true
See InitialCapacity 16 (entries)
See LoadFactor 0.75
See ConcurrencyLevel 16
See DiskPolicy
See PersistenceManager NULL
PartitionResolver. See Specifying Application Plug-In Attributes.

Mutable region attributes identify expiration and cache listener, cache writer and cache loader actions that are run from the defining client. The next table lists the mutable attributes that generally can be modified after region creation by using the AttributesMutator for the region.

Table 2. Mutable Region Attributes
Mutable Region Attribute Default Setting
Expiration attributes. See Specifying Expiration Attributes. no expiration
See LruEntriesLimit. 0 (no limit)
CacheLoader. See Specifying Application Plug-In Attributes.
CacheWriter. See Specifying Application Plug-In Attributes.
CacheListener. See Specifying Application Plug-In Attributes.

Under Specifying Application Plug-In Attributes,see "Using AttributesMutator to Modifty a Plug-in" for information about using AttributesMutator with cache listeners, cache loaders, and cache writers.

The remainder of this chapter examines these attributes in detail. Throughout the descriptions, cache.xml file snippets show how each attribute can be set declaratively.