Plan the configuration and ongoing management of your distributed, replicated, and preloaded regions, and configure the regions.
Before you begin, understand Basic Configuration and Programming.
Choose the level of distribution for your region. The region shortcuts in RegionShortcut for distributed regions use distributed-ack scope. If you need a different scope, set the region-attributes scope to distributed-no-ack or global.
If you are using the distributed-ack scope, optionally enable concurrency checks for the region.
If you are using global scope, program any explicit locking you need in addition to the automated locking provided by GemFire.
Of all the operations that affect the local cache only, only local region destroy is allowed in a replicated region. Other operations are not configurable or throw exceptions. For example, you cannot use local destroy as the expiration action on a replicated region. This is because local operations like entry invalidation and destruction remove data from the local cache only. A replicated region would no longer be complete if data were removed locally but left intact.